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
Center new tab tagline above the dock on a plain background
dee76c90edaa328
diff --git a/desktop/assets/welcome/README.md b/desktop/assets/welcome/README.mddeleted file mode 100644index 5eca9720d..000000000--- a/desktop/assets/welcome/README.md+++ /dev/null@@ -1,92 +0,0 @@-# New Tab invention wallpapers--Three original Leonardo-inspired still illustrations, generated with the built-in OpenAI image generation tool on 2026-09-21. These are decorative interpretations of invention studies, not reproductions or historically exact diagrams.--Each Cmd-T selects a random bundled wallpaper, avoiding an immediate repeat. That choice is stored on the tab and does not change during filtering, form editing, resizing, or rebuilding. All images load offline. The app draws the live tagline separately at the center of the full tab; the dock overlays the wallpaper without moving the caption. There is no animation.--The selected set contains flight and mechanical studies only. It contains no anatomical artwork.--## References--- [User-selected notebook collage](https://miro.medium.com/v2/1*ieFE-OttOL_h7F_R4GgOAg.jpeg), used only for mechanical sketch themes.-- User-provided framed invention montage, used as a subject reference for the flight variant.-- [Museo Leonardiano: flight studies](https://museoleonardiano.it/en/collezione/flight-studies/).-- [Museo Leonardiano: aerial screw](https://museoleonardiano.it/en/opera/aerial-screw/).-- [Victoria and Albert Museum: Leonardo’s notebooks](https://www.vam.ac.uk/articles/leonardo-da-vincis-notebooks), including hydraulic machinery studies.--No third-party photographs, thumbnails, book covers, or notebook scans are bundled. The reference images are not loaded by the app.--## Final assets and prompts--The generated PNGs are copied unchanged from the tool outputs. Runtime BoxFit.cover and a subtle center shade adapt them to the viewport.--### leonardo-flight.png--Generation: exec-546bf8b2-c3df-480e-a0fc-376aa43a7c0c--SHA-256: `7baf5469bc5bc6c0f567ad023ba19017afa88469e21bf8d035d5d892391ebabb`--Final prompt:--```text-Use case: style-transfer.-Asset type: a still wallpaper for a charcoal developer desktop app, the third member of a quiet Leonardo-inspired polymath wallpaper set.-Input image 1 sets the exact mood and palette: wide 16:9 canvas, deep neutral charcoal #171717, very restrained warm graphite and stone-gray engraved lines, abundant negative space.-Input image 2 is a theme reference only: a collection of Renaissance mechanical invention sketches. Create a new original arrangement inspired by these ideas, without the picture frame, paper, handwriting or crowded montage.-Composition: an elegant, airy study of a small Renaissance spiral aerial screw/flying machine around the upper-center, balanced by an almost-erased gear-and-linkage study to one side and a light architectural perspective fragment on the other. All subjects stay within the middle half of the canvas and upper 55% of its height. They should connect flight, engineering and spatial imagination through delicate construction lines, not look like an infographic.-Scale and restraint: the main flying-machine study is about 28% of canvas height; peripheral studies are smaller and much fainter. Sketches should merge naturally into the background. Low contrast throughout; no line brighter than muted medium gray around #6c6860. No blue cast, bright orange, paper tan, neon, white highlights or glow.-Keep a broad empty central band at 65–80% of image height for the app's separately rendered "Follow your curiosity." tagline. DO NOT draw any text, writing, labels, logo, watermark, border, frame, screen, card or UI control. Lower fifth and outer quarters are nearly empty charcoal. No humans, weapons, motion blur, animation effects, dense collage or dramatic lighting.-The final result should feel like a beautiful, quiet still wallpaper that supports thought and leaves the brighter command dock as the primary focus.-```--### leonardo-wings.png--Generation: exec-1f1ccb5b-9fe7-453d-863d-f6df96fcc827--SHA-256: `17c74cc85038532c6220e4f7f4e40f45ee92902975b73b67bbe497a303880728`--Final prompt:--```text-Use case: style-transfer.-Asset type: a full-screen still wallpaper for a developer desktop app's New Tab page.-Create an original Leonardo da Vinci-inspired invention notebook composition. Reference image 1 supplies ONLY the mechanical invention and engineering sketch themes, not its central human figure. Reference image 2 supplies the palette and fine engraved line technique.-Palette and finish: almost uniform neutral charcoal #171717, beautifully delicate low-contrast graphite and warm stone-gray lines. No light line brighter than #6c6860. No blue, orange, neon, glow, tan paper or white highlights. Refined old-master hatching, a few almost-erased compass/construction arcs, no noisy grain. Blend all sketches softly into the full-bleed background, no rectangles or frames.-Layout: landscape 16:9. An artful asymmetric arrangement around the upper left and upper right, with faint smaller studies toward the side edges. Keep the central 42% of the image width and the vertical band from 43% to 58% completely quiet dark charcoal: the app renders a fixed, centered tagline there. Lower quarter stays very dark and nearly empty behind the command dock. Reward a glance, not attention. Subject details can be visible toward the edges but remain muted.-Text: none. Do not render the tagline, handwriting, labels, words, logos or watermarks.-Strict exclusions: no people, no figures, no anatomical studies, no faces, no body parts, no weapons, no armor, no screens or UI, no motion effects. This is machinery and invention drawings only.-Subject: flight mechanisms — an elegant jointed wooden mechanical wing and an ornithopter study in the upper-left, balanced by a small exploded pulley-and-linkage assembly and flight-control geometry in the upper-right. Show engineering sketches, not a living bird. Plenty of breathing room. Distinct from an aerial screw wallpaper.-```--### leonardo-mechanisms.png--Generation: exec-72a1ef1c-c5cb-4e15-9ae3-75a5dc17e6e9--SHA-256: `6824c25371bbd6471fec19a6fa925450a5715933a88c2ac45120bac08673e8ca`--Final prompt:--```text-Use case: style-transfer.-Asset type: a full-screen still wallpaper for a developer desktop app's New Tab page.-Create an original Leonardo da Vinci-inspired invention notebook composition. Reference image 1 supplies ONLY the mechanical invention and engineering sketch themes, not its central human figure. Reference image 2 supplies the palette and fine engraved line technique.-Palette and finish: almost uniform neutral charcoal #171717, beautifully delicate low-contrast graphite and warm stone-gray lines. No light line brighter than #6c6860. No blue, orange, neon, glow, tan paper or white highlights. Refined old-master hatching, a few almost-erased compass/construction arcs, no noisy grain. Blend all sketches softly into the full-bleed background, no rectangles or frames.-Layout: landscape 16:9. An artful asymmetric arrangement around the upper left and upper right, with faint smaller studies toward the side edges. Keep the central 42% of the image width and the vertical band from 43% to 58% completely quiet dark charcoal: the app renders a fixed, centered tagline there. Lower quarter stays very dark and nearly empty behind the command dock. Reward a glance, not attention. Subject details can be visible toward the edges but remain muted.-Text: none. Do not render the tagline, handwriting, labels, words, logos or watermarks.-Strict exclusions: no people, no figures, no anatomical studies, no faces, no body parts, no weapons, no armor, no screens or UI, no motion effects. This is machinery and invention drawings only.-Subject: hydraulic engineering and mechanisms — a beautifully drawn Renaissance water-lifting screw with a geared wooden water wheel on the upper-left, balanced by smaller interlocking cog, shaft and hoist sketches on the upper-right. Suggest fluid engineering with a few faint curving construction lines, not realistic water. Quiet broad composition with a clean dark center.-```--## Shared style reference--The flight variant used an earlier generated charcoal geometric study as its style reference. Wings and mechanisms used the final flight variant as their palette reference. The geometric study is not part of the shipped rotation. Its generating prompt is retained here for reproducibility:--```text-Use case: stylized-concept.-Asset type: a still wallpaper for the empty New Tab page of OpenHarness, a developer desktop app for people who build across code, design, engineering and art.-Create an exceptionally restrained, refined dark charcoal wallpaper inspired by Leonardo da Vinci's open-frame geometric studies in Divina proportione. One small, elegant skeletal rhombicuboctahedron with believable perspective and delicate engraved hatching suggests the intersection of art, mathematics and engineering. This is a new original artwork, not a book cover or a UI mockup.-Composition: wide landscape 16:9. The geometric object is centered horizontally and sits at about 38% of image height, occupying only about 17% of image width. Around it, a few extremely faint compass arcs and geometric construction lines fade smoothly into the empty background. Keep the lower third and the outer quarters almost entirely empty. The app will add the live text "Follow your curiosity." below the artwork; DO NOT render any words.-Palette: almost uniform neutral charcoal #171717, ink in muted graphite and warm stone gray with a subtle bronze undertone. Low contrast: the lightest engraved lines around #6c6860, most details much darker. No blue cast, orange glow, neon or white. Very slight tonal depth around the object, no visible horizon, no paper rectangle or border, no heavy vignette, no noisy texture.-Mood: timeless, thoughtful, quiet, beautifully crafted. It should reward a glance without competing with the brighter command dock below it.-Constraints: static artwork only. No text, letters, logos, watermark, people, extra pictorial objects, screens, cards, controls, symbols or labels. Preserve abundant negative space. No animation or motion effect.-```diff --git a/desktop/assets/welcome/leonardo-flight.png b/desktop/assets/welcome/leonardo-flight.pngdeleted file mode 100644index 3e2993dbb..000000000Binary files a/desktop/assets/welcome/leonardo-flight.png and /dev/null differdiff --git a/desktop/assets/welcome/leonardo-mechanisms.png b/desktop/assets/welcome/leonardo-mechanisms.pngdeleted file mode 100644index 081f1fd7c..000000000Binary files a/desktop/assets/welcome/leonardo-mechanisms.png and /dev/null differdiff --git a/desktop/assets/welcome/leonardo-wings.png b/desktop/assets/welcome/leonardo-wings.pngdeleted file mode 100644index 75c4708e6..000000000Binary files a/desktop/assets/welcome/leonardo-wings.png and /dev/null differdiff --git a/desktop/design/agent-lifecycle-map.md b/desktop/design/agent-lifecycle-map.mdindex 916e4c1ba..a49460b1b 100644--- a/desktop/design/agent-lifecycle-map.md+++ b/desktop/design/agent-lifecycle-map.md@@ -120,7 +120,7 @@ Natural engine exit sends `agent_synced` with `status: stopped` and no terminal## Cmd-P/T contract-- Cmd-T immediately opens a temporary tab with a full-tab Leonardo-inspired invention wallpaper, **Follow your curiosity.** fixed at the center, and the dock. Each new tab randomly selects one of three bundled still illustrations, avoiding an immediate repeat; filtering and editing do not move the tagline or change the artwork. Escape cancels an untouched draft and returns to its previous tab; if that tab has since closed, the final empty workspace returns to onboarding with its dock. The full diagram is reserved for onboarding.+- Cmd-T immediately opens a temporary tab with a plain charcoal background, **Follow your curiosity.** centered in the visible area above the dock, and no wallpaper or animation. Escape cancels an untouched draft and returns to its previous tab; if that tab has since closed, the final empty workspace returns to onboarding with its dock. The full diagram is reserved for onboarding.- Cmd-P opens the dock over the current tab. Both pickers show up to ten recent sessions plus New Harness, with a smaller visible viewport on short windows; typing searches the full catalog.- The New Harness form has **Open in** after Task and before Start. Cmd-N and Cmd-P default to New Pane; Cmd-T defaults to New Tab and fills the tab already created. Enter or a click toggles directly between the two destinations. Creation in flight or awaiting its receipt keeps its destination.- Stop closes tabs emptied by that harness and its owned viewers. Occupied tabs, other machines' panes, unrelated tabs, presets and pending creation destinations are preserved. If no tabs remain, one onboarding page opens with the dock.@@ -163,7 +163,7 @@ npm run test:resume-native`test:resume-native` requires installed Claude Code, Codex and tmux. It launches the real vendor CLIs against synthetic saved conversations using the production BackendSocket, Stop/Resume handlers, registry/archive, launch arguments and native hook server. It verifies visible saved history, exact conversation IDs, live attach without process replacement, operation receipts, Stop persistence across a registry reload, new tmux runtimes on resume, and preservation of a surviving shell after engine exit. It uses a separate tmux socket, isolated data/config directories and unavailable loopback model endpoints, without real credentials or paid model calls. Only after restored Codex history is visible does the fixture submit a harmless test message to trigger its deferred native hook. No such message is submitted by production resume.-Desktop regression coverage includes Cmd-P/T selection of retained sessions, pending native terminals, receipt and identity races, creation placement, repeated Cmd-T, Escape from search and creation, occupied-tab preservation, and the last-tab onboarding exception. The final full desktop suite passed **2,671 tests, with 10 skipped**. The analyzer reported no errors or warnings, with 17 existing informational findings. The three wallpapers were visually reviewed with the real dock at 1280×800 and 960×640; a widget regression verifies the full-tab artwork and centered tagline remain fixed during filtering and form editing. Artwork, sources, and generation prompts are recorded in [assets/welcome/README.md](../assets/welcome/README.md).+Desktop regression coverage includes Cmd-P/T selection of retained sessions, pending native terminals, receipt and identity races, creation placement, repeated Cmd-T, Escape from search and creation, occupied-tab preservation, and the last-tab onboarding exception. The final full desktop suite passed **2,671 tests, with 10 skipped**. The analyzer reported no errors or warnings, with 17 existing informational findings. The plain New Tab and onboarding layouts were visually reviewed with the real dock at 1280×800 and 960×640; a widget regression verifies the tagline stays centered in the visible area above search and creation docks.## Suggested manual acceptance checksdiff --git a/desktop/lib/screens/swarm_screen.dart b/desktop/lib/screens/swarm_screen.dartindex 0d51df926..3e9396fb5 100644--- a/desktop/lib/screens/swarm_screen.dart+++ b/desktop/lib/screens/swarm_screen.dart@@ -282,7 +282,7 @@ class _SwarmScreenState extends State<SwarmScreen> {}Widget _startGuide() => app.activeSwarm.isNewTabPage- ? NewTabStartPage(wallpaper: app.activeSwarm.wallpaper)+ ? const NewTabStartPage(): WorkspaceStartGuide(onShortcuts: _showKeyboardShortcuts);void _reviewOnboarding() {@@ -1597,7 +1597,7 @@ class _SwarmScreenState extends State<SwarmScreen> {listenable: box,builder: (context, child) => LayoutBuilder(builder: (context, constraints) {- if (onWelcome && !app.activeSwarm.isNewTabPage) {+ if (onWelcome) {return Padding(padding: EdgeInsets.only(top: _native ? 0 : _tabBarHeight),child: FocusScope(@@ -1641,9 +1641,7 @@ class _SwarmScreenState extends State<SwarmScreen> {),),CommandDock(- topClearance: app.activeSwarm.isBlankNewTab- ? constraints.maxHeight * .56- : (_native ? 0 : _tabBarHeight),+ topClearance: _native ? 0 : _tabBarHeight,expanded: box.field == NewHarnessField.projectMenu,child: content,),@@ -2259,7 +2257,7 @@ class _SwarmScreenState extends State<SwarmScreen> {onRefocus: _focusSearch,child: scoped,);- if (_searchOnWelcome && !app.activeSwarm.isNewTabPage) {+ if (_searchOnWelcome) {return Padding(padding: EdgeInsets.only(top: _native ? 0 : _tabBarHeight),child: BlockSemantics(@@ -2297,8 +2295,7 @@ class _SwarmScreenState extends State<SwarmScreen> {CommandDock(expanded: true,topClearance: (_native ? 0.0 : _tabBarHeight).clamp(- constraints.maxHeight *- (app.activeSwarm.isBlankNewTab ? .56 : .35),+ constraints.maxHeight * .35,double.infinity,),child: contents,diff --git a/desktop/lib/state/app_state.dart b/desktop/lib/state/app_state.dartindex 2257f7976..6cf2582df 100644--- a/desktop/lib/state/app_state.dart+++ b/desktop/lib/state/app_state.dart@@ -51,7 +51,6 @@ import 'harness_placement.dart';import 'pane_layout_store.dart';import 'terminal_pane.dart';import 'swarm.dart';-import 'new_tab_wallpaper.dart';import '../terminal/terminal_binary.dart';import '../update/desktop_updater.dart';import '../update/manual_update_check.dart';@@ -817,9 +816,6 @@ class AppNotifier extends ChangeNotifier {swarm.presets.isEmpty;}- final _wallpaperRandom = Random();- NewTabWallpaper? _lastNewTabWallpaper;-void newSwarm({String name = Swarm.defaultName,bool draft = false,@@ -845,13 +841,6 @@ class AppNotifier extends ChangeNotifier {name: name,isNewTabPage: newTabPage,);- if (newTabPage) {- final choices = NewTabWallpaper.values- .where((wallpaper) => wallpaper != _lastNewTabWallpaper)- .toList(growable: false);- swarm.wallpaper = choices[_wallpaperRandom.nextInt(choices.length)];- _lastNewTabWallpaper = swarm.wallpaper;- }if (draft) {_draftSwarmReturns[swarm.id] =_draftSwarmReturns[activeSwarmId] ?? activeSwarmId;@@ -8567,7 +8556,6 @@ class AppNotifier extends ChangeNotifier {? raw['orchestratorMachineId'] as String: null;swarm.isNewTabPage = raw['newTabPage'] == true;- swarm.wallpaper = NewTabWallpaper.fromName(raw['newTabWallpaper']);swarm.titleMachineId = raw['titleMachineId'] as String?;swarm.titleAgentId = raw['titleAgentId'] as String?;swarm.nameIsCustom =diff --git a/desktop/lib/state/new_tab_wallpaper.dart b/desktop/lib/state/new_tab_wallpaper.dartdeleted file mode 100644index cd744c912..000000000--- a/desktop/lib/state/new_tab_wallpaper.dart+++ /dev/null@@ -1,12 +0,0 @@-/// Bundled, still artwork. Each New Tab chooses once, independently of builds.-enum NewTabWallpaper {- flight('assets/welcome/leonardo-flight.png'),- wings('assets/welcome/leonardo-wings.png'),- mechanisms('assets/welcome/leonardo-mechanisms.png');-- const NewTabWallpaper(this.asset);- final String asset;-- static NewTabWallpaper fromName(Object? name) =>- values.where((wallpaper) => wallpaper.name == name).firstOrNull ?? flight;-}diff --git a/desktop/lib/state/swarm.dart b/desktop/lib/state/swarm.dartindex 8f78c01f3..ac69e5d94 100644--- a/desktop/lib/state/swarm.dart+++ b/desktop/lib/state/swarm.dart@@ -1,7 +1,6 @@import 'dart:ui' show Size;import '../core/models.dart' show isAutomaticHarnessName;-import 'new_tab_wallpaper.dart';import 'pane_preset.dart';import 'pane_arrangement.dart';import 'terminal_pane.dart';@@ -15,7 +14,6 @@ class Swarm {String name = defaultName,this.kind = 'harness',this.isNewTabPage = false,- this.wallpaper = NewTabWallpaper.flight,bool? nameIsCustom,}) : name = nameIsCustom == true ? name : normalizeName(name),nameIsCustom = nameIsCustom ?? (normalizeName(name) != defaultName);@@ -29,7 +27,6 @@ class Swarm {/// A deliberately opened tab has a minimal landing page, separate from onboarding.bool isNewTabPage;- NewTabWallpaper wallpaper;bool get isBlankNewTab =>isNewTabPage && kind == 'harness' && panes.isEmpty && presets.isEmpty;bool get isStore => kind == 'store';@@ -128,7 +125,6 @@ class Swarm {'name': name,if (nameIsCustom) 'nameIsCustom': true,if (isNewTabPage) 'newTabPage': true,- if (isNewTabPage) 'newTabWallpaper': wallpaper.name,if (titleMachineId != null) 'titleMachineId': titleMachineId,if (titleAgentId != null) 'titleAgentId': titleAgentId,if (kind != 'harness') 'kind': kind,diff --git a/desktop/lib/widgets/workspace_start_guide.dart b/desktop/lib/widgets/workspace_start_guide.dartindex 12229e470..1696518ce 100644--- a/desktop/lib/widgets/workspace_start_guide.dart+++ b/desktop/lib/widgets/workspace_start_guide.dart@@ -1,7 +1,6 @@import 'package:flutter/material.dart';import '../shared/theme/app_theme.dart' as grid;-import '../state/new_tab_wallpaper.dart';import '../shortcuts/app_keymap.dart';import '../shortcuts/keymap.dart';import '../shortcuts/keymap_commands.dart';@@ -10,9 +9,7 @@ import 'welcome_project_example.dart';/// The everyday New Tab page leaves the dock as the only action surface.class NewTabStartPage extends StatelessWidget {- const NewTabStartPage({super.key, required this.wallpaper});-- final NewTabWallpaper wallpaper;+ const NewTabStartPage({super.key});@overrideWidget build(BuildContext context) {@@ -20,51 +17,20 @@ class NewTabStartPage extends StatelessWidget {return ColoredBox(key: const ValueKey('new-tab-start-page'),color: grid.AppPalette.swarmWelcome,- child: Stack(- fit: StackFit.expand,- children: [- IgnorePointer(- child: ExcludeSemantics(- child: Image.asset(- wallpaper.asset,- fit: BoxFit.cover,- filterQuality: FilterQuality.medium,- ),- ),- ),- // Preserve a quiet center even when a narrow window crops the art.- const IgnorePointer(- child: DecoratedBox(- decoration: BoxDecoration(- gradient: RadialGradient(- colors: [Color(0x99171717), Color(0x00171717)],- stops: [.1, 1],- radius: .65,- ),- ),+ child: Center(+ child: Padding(+ padding: const EdgeInsets.all(32),+ child: Text(+ 'Follow your curiosity.',+ key: const ValueKey('new-tab-tagline'),+ textAlign: TextAlign.center,+ style: boxMonoStyle(+ size: 24,+ color: const Color(0xffd3d0ca),+ weight: FontWeight.w600,),),- Center(- child: Padding(- padding: const EdgeInsets.symmetric(horizontal: 32),- child: Text(- 'Follow your curiosity.',- key: const ValueKey('new-tab-tagline'),- textAlign: TextAlign.center,- style:- boxMonoStyle(- size: 24,- color: const Color(0xffd3d0ca),- weight: FontWeight.w600,- ).copyWith(- shadows: [- const Shadow(color: Color(0xaa171717), blurRadius: 18),- ],- ),- ),- ),- ),- ],+ ),),);}diff --git a/desktop/pubspec.yaml b/desktop/pubspec.yamlindex 4c2683c74..c7170b23a 100644--- a/desktop/pubspec.yaml+++ b/desktop/pubspec.yaml@@ -111,9 +111,6 @@ flutter:- assets/store/- assets/store/projects/- assets/store/covers/- - assets/welcome/leonardo-flight.png- - assets/welcome/leonardo-wings.png- - assets/welcome/leonardo-mechanisms.png# The real app icon, shown in Settings ▸ About. Copied from the macOS# icon set (`macos/Runner/Assets.xcassets/AppIcon.appiconset`) rather than# loaded from the bundle: Flutter can't read an .icns, and About should showdiff --git a/desktop/test/swarm_interactions_test.dart b/desktop/test/swarm_interactions_test.dartindex 4ab647fe6..2d537c390 100644--- a/desktop/test/swarm_interactions_test.dart+++ b/desktop/test/swarm_interactions_test.dart@@ -114,7 +114,6 @@ void main() {expect(replied, isTrue);}- Object? previousWallpaper;for (final action in <Future<void> Function()>[() => chord(tester, LogicalKeyboardKey.keyT),newFromChrome,@@ -134,11 +133,6 @@ void main() {await tester.pumpAndSettle();expect(app.activeSwarmId, isNot(work));expect(app.activeSwarm.isNewTabPage, isTrue);- final wallpaper = app.activeSwarm.wallpaper;- if (previousWallpaper != null) {- expect(wallpaper, isNot(previousWallpaper));- }- previousWallpaper = wallpaper;expect(app.swarms, hasLength(3));expect(find.text('Follow your curiosity.'), findsWidgets);expect(@@ -149,10 +143,7 @@ void main() {expect(tester.widget<TextField>(input).focusNode!.hasFocus, isTrue);await tester.enterText(input, 'Agent 1');await tester.pump();- expect(app.activeSwarm.wallpaper, wallpaper);await chord(tester, LogicalKeyboardKey.keyT);- expect(app.activeSwarm.wallpaper, isNot(wallpaper));- previousWallpaper = app.activeSwarm.wallpaper;expect(app.swarms, hasLength(3));expect(tester.widget<TextField>(input).controller!.text, 'Agent 1');await tester.sendKeyEvent(LogicalKeyboardKey.escape);diff --git a/desktop/test/workspace_start_guide_test.dart b/desktop/test/workspace_start_guide_test.dartindex b9d5cf478..ad362b49e 100644--- a/desktop/test/workspace_start_guide_test.dart+++ b/desktop/test/workspace_start_guide_test.dart@@ -20,7 +20,6 @@ import 'package:harness/state/app_state.dart';import 'package:harness/state/first_harness_launch.dart';import 'package:harness/state/harness_placement.dart';import 'package:harness/state/new_harness.dart';-import 'package:harness/state/new_tab_wallpaper.dart';import 'package:harness/state/pane_arrangement.dart';import 'package:harness/widgets/new_harness_box.dart';import 'package:harness/widgets/workspace_start_guide.dart';@@ -58,11 +57,6 @@ class _FirstApp extends AppNotifier {..nodeOnline = true..agentLoadStatus = AgentLoadStatus.loaded;}- void reviewWallpaper(NewTabWallpaper wallpaper) {- activeSwarm.wallpaper = wallpaper;- notifyListeners();- }-Completer<void>? detection;List<String> installed = ['codex'];final launches =@@ -570,7 +564,7 @@ void main() {);testWidgets(- 'New Tab artwork and caption stay fixed while filtering and editing the dock',+ 'New Tab caption stays centered in the visible area above each dock',(tester) async {final app = _FirstApp();addTearDown(app.dispose);@@ -580,26 +574,27 @@ void main() {await _mount(tester, app, FirstHarnessLaunch());await key(tester, LogicalKeyboardKey.keyT, cmd: true);await tester.pumpAndSettle();- final page = find.byKey(const ValueKey('new-tab-start-page'));- final tagline = find.byKey(const ValueKey('new-tab-tagline'));- final wallpaper = app.activeSwarm.wallpaper;- final bounds = tester.getRect(page);- final center = tester.getCenter(tagline);- expect(center, bounds.center);+ final page = find.byKey(const ValueKey('new-tab-start-page')).last;+ final tagline = find.byKey(const ValueKey('new-tab-tagline')).last;+ void expectCentered() {+ expect(tester.getCenter(tagline), tester.getRect(page).center);+ expect(+ find.descendant(of: page, matching: find.byType(Image)),+ findsNothing,+ );+ }++ expectCentered();final search = find.byKey(const ValueKey('swarm-search-input'));await tester.enterText(search, 'nothing matches');await tester.pumpAndSettle();- expect(tester.getRect(page), bounds);- expect(tester.getCenter(tagline), center);- expect(app.activeSwarm.wallpaper, wallpaper);+ expectCentered();await key(tester, LogicalKeyboardKey.keyN, cmd: true);await tester.pumpAndSettle();expect(find.byType(NewHarnessBox), findsOneWidget);- expect(tester.getRect(page), bounds);- expect(tester.getCenter(tagline), center);- expect(app.activeSwarm.wallpaper, wallpaper);+ expectCentered();expect(tester.getRect(find.byType(NewHarnessBox)).top,greaterThan(tester.getRect(tagline).bottom),@@ -651,28 +646,16 @@ void main() {);if (hasHarnesses) {await key(tester, LogicalKeyboardKey.keyT, cmd: true);- for (final wallpaper in NewTabWallpaper.values) {- app.reviewWallpaper(wallpaper);- await tester.pump();- await tester.runAsync(- () => precacheImage(- AssetImage(wallpaper.asset),- tester.element(find.byType(NewTabStartPage).first),- ),+ for (final (size, name) in [+ (const Size(1280, 800), 'new-tab'),+ (const Size(960, 640), 'new-tab-compact'),+ ]) {+ tester.view.physicalSize = size;+ await tester.pumpAndSettle();+ await expectLater(+ find.byType(MaterialApp),+ matchesGoldenFile(Uri.file('$output/$name.png')),);- for (final (size, name) in [- (const Size(1280, 800), 'new-tab'),- (const Size(960, 640), 'new-tab-compact'),- ]) {- tester.view.physicalSize = size;- await tester.pumpAndSettle();- await expectLater(- find.byType(MaterialApp),- matchesGoldenFile(- Uri.file('$output/$name-${wallpaper.name}.png'),- ),- );- }}}await tester.pumpWidget(const SizedBox());