Skip to content

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.

Reduce the device promotion to a small companion card

deef363c9f7bb2e
diff --git a/desktop/lib/widgets/harness_start_page.dart b/desktop/lib/widgets/harness_start_page.dart
index 287894767..04931e511 100644
--- a/desktop/lib/widgets/harness_start_page.dart
+++ b/desktop/lib/widgets/harness_start_page.dart
@@ -155,111 +155,51 @@ class _HarnessStartPageState extends State<HarnessStartPage> {
),
);
- /// The product strip along the bottom of the page (mockup/device-strip-final.html).
- ///
- /// What stood here before was the studio photograph — a light-grey box with
- /// the dial in it — cropped into a rounded rectangle and set in the darkest
- /// corner of a dark page, where a pale rectangle reads as a broken image
- /// rather than a product. The asset is a cutout now: the render with its
- /// ground keyed out, so the device — face, bezel, body, stand — floats on
- /// whatever the page is painted, inside a glass strip the width of the
- /// search field, with a name, one line on what it does, and a Learn more.
- Widget _device({required bool compact}) {
- final height = compact ? 84.0 : 120.0;
+ /// A quiet companion link below the agent controls.
+ Widget _device() {
return Semantics(
link: true,
- child: InkWell(
- key: const ValueKey('harness-device-link'),
- mouseCursor: SystemMouseCursors.click,
- onTap: _openDevicePage,
- borderRadius: BorderRadius.circular(14),
- child: Container(
- height: height,
- decoration: BoxDecoration(
- color: grid.AppTheme.pick(
- const Color(0x0A000000),
- const Color(0x0EFFFFFF),
- ),
- border: Border.all(color: grid.AppGlass.hair),
- borderRadius: BorderRadius.circular(14),
+ child: ConstrainedBox(
+ constraints: const BoxConstraints(maxWidth: 320),
+ child: Material(
+ color: Colors.white.withValues(alpha: .025),
+ shape: RoundedRectangleBorder(
+ side: BorderSide(color: Colors.white.withValues(alpha: .07)),
+ borderRadius: BorderRadius.circular(12),
),
clipBehavior: Clip.antiAlias,
- child: Row(
- children: [
- const SizedBox(width: 10),
- Padding(
- padding: const EdgeInsets.symmetric(vertical: 6),
- child: Image.asset(
- 'assets/harness_device.png',
- height: height - 12,
- fit: BoxFit.contain,
- semanticLabel: 'Harness Device',
- ),
- ),
- const SizedBox(width: 16),
- Expanded(
- child: Column(
- mainAxisAlignment: MainAxisAlignment.center,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- Text(
+ child: InkWell(
+ key: const ValueKey('harness-device-link'),
+ mouseCursor: SystemMouseCursors.click,
+ onTap: _openDevicePage,
+ child: Padding(
+ padding: const EdgeInsets.fromLTRB(10, 8, 14, 8),
+ child: Row(
+ mainAxisSize: MainAxisSize.min,
+ children: [
+ Image.asset(
+ 'assets/harness_device.png',
+ height: 36,
+ width: 32,
+ fit: BoxFit.contain,
+ excludeFromSemantics: true,
+ ),
+ const SizedBox(width: 10),
+ Flexible(
+ child: Text(
'Meet the Harness device',
- maxLines: 1,
+ maxLines: 2,
overflow: TextOverflow.ellipsis,
style: TextStyle(
- fontSize: 13,
- fontWeight: grid.AppFont.semibold,
- color: grid.AppPalette.textPrimary,
+ fontSize: 12,
+ height: 1.3,
+ color: grid.AppPalette.textSecondary,
),
),
- if (!compact) ...[
- const SizedBox(height: 2),
- Text(
- 'A device for your agents — scroll, switch panes, '
- 'give voice commands.',
- maxLines: 2,
- overflow: TextOverflow.ellipsis,
- style: TextStyle(
- fontSize: 11.5,
- height: 1.35,
- color: grid.AppPalette.textFaint,
- ),
- ),
- ],
- ],
- ),
- ),
- const SizedBox(width: 16),
- Container(
- height: 28,
- padding: const EdgeInsets.symmetric(horizontal: 14),
- alignment: Alignment.center,
- decoration: BoxDecoration(
- border: Border.all(color: grid.AppGlass.hair),
- borderRadius: BorderRadius.circular(999),
- ),
- child: Row(
- mainAxisSize: MainAxisSize.min,
- children: [
- Text(
- 'Learn more',
- style: TextStyle(
- fontSize: 11.5,
- fontWeight: grid.AppFont.semibold,
- color: grid.AppPalette.textPrimary,
- ),
- ),
- const SizedBox(width: 4),
- Icon(
- Icons.arrow_outward,
- size: 12,
- color: grid.AppPalette.textPrimary,
- ),
- ],
- ),
+ ),
+ ],
),
- const SizedBox(width: 18),
- ],
+ ),
),
),
),
@@ -403,7 +343,7 @@ class _HarnessStartPageState extends State<HarnessStartPage> {
),
),
const SizedBox(height: 24),
- _device(compact: constraints.maxHeight < 600),
+ _device(),
],
),
),
diff --git a/docs/harness-agent-first-tabs.md b/docs/harness-agent-first-tabs.md
index d807a5f61..5458bcca2 100644
--- a/docs/harness-agent-first-tabs.md
+++ b/docs/harness-agent-first-tabs.md
@@ -64,7 +64,9 @@ content without internal dividing lines or a darker preview column.
Results and preview share the space above the fixed device footer. Typing,
clicking or pressing an arrow opens search; focus alone does not build its catalog.
Escape closes results and retains the query. The default background matches the selected tab, and the device
-product strip stays above the customization button. New without a linked machine opens machine linking.
+card stays above the customization button. It contains a small device image and
+**Meet the Harness device**, with no description or separate Learn more action.
+The whole card opens the device page. New without a linked machine opens machine linking.
Open Agent has a large **Find an agent** heading, a blank rounded input and the
same palette surface over a 90% black canvas veil. Results appear immediately;
diff --git a/docs/harness-v2-handoff.md b/docs/harness-v2-handoff.md
index 049b8de7d..33861bff6 100644
--- a/docs/harness-v2-handoff.md
+++ b/docs/harness-v2-handoff.md
@@ -34,7 +34,16 @@ user for a benchmark window.
## Current product contract
-### Latest: continuous search surface
+### Latest: quiet device companion card
+
+New Harness now shows a small **Meet the Harness device** card with a 36-pixel
+product image. The description and separate Learn more button are removed.
+The entire card remains a link, stays fixed as search opens, and fits larger text.
+Six existing entry/layout checks pass. Captures:
+`/private/tmp/harness-device-card-captures`; checks:
+`/private/tmp/harness-device-card-tests.log`.
+
+### Continuous search surface — pushed 74674f5
The compact New Harness input and expanded results use the same palette fill,
32-pixel outer corners and a subtle edge. Internal search/preview dividers and
@@ -308,15 +317,15 @@ are:
precedence. Cmd-R splits right and Cmd-D splits down. Native menus, help and actual
dispatch must agree; native menu and titlebar hover hints are removed.
- New Harness defaults to the selected tab fill. Customize Harness offers the
- prior Aurora mesh and restored images. The device cutout remains in its product strip.
+ prior Aurora mesh and restored images. The device cutout sits in a small companion card.
The long search field is capped at 1120 logical pixels with a 64-pixel minimum
height and **Find an agent** hint. It starts blank and focused, with results
hidden until typing, clicking or pressing an arrow. Open Agent and New Agent
sit underneath at the same left edge; the Open button is outlined here.
Search retains its position and width; results and preview are side by side
- from 700 pixels. Escape restores the actions and query. The product strip stays
- above the bottom-right Customize button while search opens and closes, with
- a compact form for short windows. Wallpaper is now an explicit saved choice.
+ from 700 pixels. Escape restores the actions and query. The small device card stays
+ above the bottom-right Customize button while search opens and closes.
+ Wallpaper is now an explicit saved choice.
- Search is single-choice. Session names appear above **project · branch ·
machine**, without repeated workspace titles. Only the highlighted row shows
**Open Agent / Open N Agents**, or the explicit split action. The modal