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
Make New Tab search 30 percent narrower
deefe69879ef5c4
diff --git a/desktop/lib/widgets/harness_start_page.dart b/desktop/lib/widgets/harness_start_page.dartindex 6a64d710e..ca161af40 100644--- a/desktop/lib/widgets/harness_start_page.dart+++ b/desktop/lib/widgets/harness_start_page.dart@@ -103,8 +103,8 @@ class _HarnessStartPageState extends State<HarnessStartPage> {Text(label),],);- final size = Size(compact ? 56 : 160, 56);- final padding = EdgeInsets.symmetric(horizontal: compact ? 16 : 24);+ final size = Size(compact ? 48 : 140, 48);+ final padding = EdgeInsets.symmetric(horizontal: compact ? 12 : 20);final button = create? FilledButton(key: const ValueKey('harness-start-new'),@@ -160,7 +160,7 @@ class _HarnessStartPageState extends State<HarnessStartPage> {),child: Center(child: ConstrainedBox(- constraints: const BoxConstraints(maxWidth: 1120),+ constraints: const BoxConstraints(maxWidth: 784),child: Column(children: [const Text(@@ -232,6 +232,7 @@ class _HarnessStartPageState extends State<HarnessStartPage> {showClose: _showResults,hintText: '',rounded: true,+ compact: true,),),if (_showResults) ...[@@ -248,6 +249,7 @@ class _HarnessStartPageState extends State<HarnessStartPage> {'harness-start-results',),search: _search!,+ sideBySideMinWidth: 700,onChoose: _choose,onRefocus: _focus.requestFocus,),@@ -261,9 +263,9 @@ class _HarnessStartPageState extends State<HarnessStartPage> {),),if (!_showResults) ...[- const SizedBox(width: 12),+ const SizedBox(width: 10),_action(create: false, compact: compactActions),- const SizedBox(width: 12),+ const SizedBox(width: 10),_action(create: true, compact: compactActions),],],diff --git a/desktop/lib/widgets/swarm_search_input.dart b/desktop/lib/widgets/swarm_search_input.dartindex 2440add22..644ca1d47 100644--- a/desktop/lib/widgets/swarm_search_input.dart+++ b/desktop/lib/widgets/swarm_search_input.dart@@ -21,6 +21,7 @@ class SwarmSearchInput extends StatelessWidget {this.autofocus = true,this.hintText,this.rounded = false,+ this.compact = false,});final Key inputKey;@@ -35,6 +36,7 @@ class SwarmSearchInput extends StatelessWidget {final bool showClose, autofocus;final String? hintText;final bool rounded;+ final bool compact;@overrideWidget build(BuildContext context) => ListenableBuilder(@@ -78,9 +80,9 @@ class SwarmSearchInput extends StatelessWidget {: hintText ?? search?.hint ?? 'Find a harness',hintStyle: const TextStyle(fontSize: 16, color: Colors.white60),prefixIcon: const Icon(Icons.search, size: 20, color: Colors.white60),- prefixIconConstraints: const BoxConstraints(+ prefixIconConstraints: BoxConstraints(minWidth: 52,- minHeight: 56,+ minHeight: compact ? 48 : 56,),suffixIcon: showClose? Padding(@@ -99,9 +101,9 @@ class SwarmSearchInput extends StatelessWidget {fillColor: open? grid.AppPalette.swarmSearchSurface: const Color(0xa6111521),- contentPadding: const EdgeInsets.symmetric(+ contentPadding: EdgeInsets.symmetric(horizontal: 18,- vertical: 18,+ vertical: compact ? 14 : 18,),isDense: true,border: border,diff --git a/desktop/lib/widgets/swarm_switcher.dart b/desktop/lib/widgets/swarm_switcher.dartindex 7f881bf03..104309243 100644--- a/desktop/lib/widgets/swarm_switcher.dart+++ b/desktop/lib/widgets/swarm_switcher.dart@@ -169,8 +169,7 @@ class SwarmSearchKeys extends StatelessWidget {'picker.next': () => move(1),'picker.previous': () => move(-1),if (search != null) ...{- 'picker.preview_page_up': () =>- run(() => search.pagePreview(-1)),+ 'picker.preview_page_up': () => run(() => search.pagePreview(-1)),'picker.preview_page_down': () =>run(() => search.pagePreview(1)),},@@ -297,10 +296,12 @@ class SwarmSearchResults extends StatefulWidget {required this.search,required this.onChoose,required this.onRefocus,+ this.sideBySideMinWidth = 800,});final SwarmSearchController search;final ValueChanged<SwarmSearchSelection> onChoose;final VoidCallback onRefocus;+ final double sideBySideMinWidth;@overrideState<SwarmSearchResults> createState() => _SwarmSearchResultsState();}@@ -387,10 +388,9 @@ class _SwarmSearchResultsState extends State<SwarmSearchResults> {);return LayoutBuilder(builder: (context, constraints) {+ final sideBySide = constraints.maxWidth >= widget.sideBySideMinWidth;final compactAction =- (constraints.maxWidth >= 800- ? constraints.maxWidth / 2- : constraints.maxWidth) <+ (sideBySide ? constraints.maxWidth / 2 : constraints.maxWidth) <380;final geometry = (constraints.biggest, _rowHeight);if (_geometry != geometry) {@@ -611,7 +611,7 @@ class _SwarmSearchResultsState extends State<SwarmSearchResults> {: null;final content = preview == null? results- : constraints.maxWidth >= 800+ : sideBySide? Row(crossAxisAlignment: CrossAxisAlignment.stretch,children: [diff --git a/docs/harness-agent-first-tabs.md b/docs/harness-agent-first-tabs.mdindex 120159fae..897e7a198 100644--- a/docs/harness-agent-first-tabs.md+++ b/docs/harness-agent-first-tabs.md@@ -9,8 +9,10 @@ proposals in the progress log.**Cmd-T / New Tab** and the tab-bar plus open the Harness start page. Its solidbackground matches the selected tab. The centered title and search controls sit-lower with generous empty space. A single row, capped at 1120 logical pixels,+lower with generous empty space. A single row, capped at 784 logical pixels,contains a compact search field, **Open Harness**, and accented **+ New Harness**.+The pill buttons use a smaller 48-pixel height, with reduced input padding. The New Tab+preview stays beside its results at widths of 700 logical pixels and above.Activating search expands the field into the buttons' space and hides the buttons;the overall row edges remain fixed. Results and preview appear side by side.Escape restores the compact field and both actions. At narrow widths or large text@@ -67,7 +69,7 @@ also work immediately after opening the menu, before its first frame.The Open popup keeps its full-width **Find a harness** field, single-choiceresults and 90% black backdrop. Only the highlighted row shows **Open Harness**,**Open N Harnesses**, or **Split right/down**, depending on context.-Both Open and inline start-page search show the same session preview. The open+Both Open and inline start-page search show the same session preview. The Cmd-Osurface can grow to 1120 logical pixels, placing the list and preview side byside. Narrow windows stack them with a compact preview heading. Both sectionsscroll independently; the expanded panel stays within view. Hover selects adiff --git a/docs/harness-search-preview.md b/docs/harness-search-preview.mdindex c9f4f58bb..f25961492 100644--- a/docs/harness-search-preview.md+++ b/docs/harness-search-preview.md@@ -4,9 +4,11 @@ Both Open Harness and inline start-page search now display existing sessioncontent in a shared preview. This document records the content rules, data path,and remaining coverage limits.-The start page keeps one row, capped at 1120 logical pixels: a compact search field,+The start page keeps one row, capped at 784 logical pixels: a compact search field,Open Harness, and New Harness. Activating search expands the field into the actions'space; the outer edges stay fixed while results and preview appear side by side.+The pill buttons use a compact 48-pixel height, with reduced input padding. The New Tab preview+stays beside the results from 700 pixels wide; Cmd-O retains its existing size.Escape restores the original row and retains the query.Page Up/Down scrolls the preview with overlap while the query keeps keyboard focus.Arrow keys still choose results, and Enter opens the selection. The two previewdiff --git a/docs/harness-v2-handoff.md b/docs/harness-v2-handoff.mdindex 69d2533d2..8fbb8951e 100644--- a/docs/harness-v2-handoff.md+++ b/docs/harness-v2-handoff.md@@ -46,11 +46,13 @@ are:precedence. Cmd-R splits right and Cmd-D splits down. Native menus, help and actualdispatch must agree; native menu and titlebar hover hints are removed.- New Tab uses the Google-like page with a **solid selected-tab background**,- lower centered controls and generous whitespace. A single row (at most 1120+ lower centered controls and generous whitespace. A single row (at most 784logical pixels) contains search, Open Harness, and New Harness. Search startsblank and focused, with results hidden. Activating search expands the fieldinto the buttons' space; the row edges stay fixed and results/preview appear- side by side. Escape restores the original row and query.+ side by side from 700 pixels wide. The pill buttons use a compact 48-pixel+ height, with reduced input padding; Cmd-O retains its existing width. Escape restores the original+ row and query.Typing, clicking, or pressing an arrowreveals the same results, selection, arrows and Enter behavior as Cmd-O.Focus alone leaves results hidden and builds no catalog. Open Harness and