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.

Aurora mesh ground again, and the device as a cutout in a product strip

0xdiego25fea77a898f5c
diff --git a/desktop/assets/harness_device.png b/desktop/assets/harness_device.png
new file mode 100644
index 000000000..751bb4e2d
Binary files /dev/null and b/desktop/assets/harness_device.png differ
diff --git a/desktop/assets/harness_device.webp b/desktop/assets/harness_device.webp
deleted file mode 100644
index 1d21dfbbe..000000000
Binary files a/desktop/assets/harness_device.webp and /dev/null differ
diff --git a/desktop/assets/swarm-wallpapers/swarm-welcome-dusk.jpg b/desktop/assets/swarm-wallpapers/swarm-welcome-dusk.jpg
deleted file mode 100644
index 35e6edf1b..000000000
Binary files a/desktop/assets/swarm-wallpapers/swarm-welcome-dusk.jpg and /dev/null differ
diff --git a/desktop/lib/widgets/harness_start_page.dart b/desktop/lib/widgets/harness_start_page.dart
index 1eb234bf1..3cc589b43 100644
--- a/desktop/lib/widgets/harness_start_page.dart
+++ b/desktop/lib/widgets/harness_start_page.dart
@@ -141,65 +141,122 @@ 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 photo = ClipRRect(
- borderRadius: BorderRadius.circular(10),
- child: Transform.scale(
- // Frame the device, which sits left of center in the original photo.
- scale: 1.7,
- alignment: const Alignment(-0.5, 0.08),
- child: Image.asset(
- 'assets/harness_device.webp',
- width: compact ? 96 : 256,
- height: compact ? 54 : 144,
- fit: BoxFit.cover,
- semanticLabel: 'Harness Device',
- ),
- ),
- );
- const caption = Row(
- mainAxisSize: MainAxisSize.min,
- children: [
- Flexible(
- child: Text(
- 'Meet the Harness device',
- style: TextStyle(fontSize: 13, color: Colors.white70),
- ),
- ),
- SizedBox(width: 4),
- Icon(Icons.arrow_outward, size: 12, color: Colors.white70),
- ],
- );
+ final height = compact ? 84.0 : 120.0;
return Semantics(
link: true,
child: InkWell(
key: const ValueKey('harness-device-link'),
mouseCursor: SystemMouseCursors.click,
- onTap: () => launchUrl(
- Uri.parse('https://www.autonomous.ai/harness-device'),
- mode: LaunchMode.externalApplication,
- ),
- borderRadius: BorderRadius.circular(12),
- child: SizedBox(
- width: compact ? 320 : 256,
- child: compact
- ? Row(
+ 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),
+ ),
+ 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: [
- photo,
- const SizedBox(width: 12),
- const Expanded(child: caption),
+ Text(
+ 'Meet the Harness device',
+ maxLines: 1,
+ overflow: TextOverflow.ellipsis,
+ style: TextStyle(
+ fontSize: 13,
+ fontWeight: grid.AppFont.semibold,
+ color: grid.AppPalette.textPrimary,
+ ),
+ ),
+ 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,
+ ),
+ ),
+ ],
],
- )
- : Column(
- crossAxisAlignment: CrossAxisAlignment.start,
+ ),
+ ),
+ 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: [photo, const SizedBox(height: 12), caption],
+ 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),
+ ],
+ ),
),
),
);
}
+ void _openDevicePage() => launchUrl(
+ Uri.parse('https://www.autonomous.ai/harness-device'),
+ mode: LaunchMode.externalApplication,
+ );
+
@override
void dispose() {
_search?.dispose();
diff --git a/desktop/lib/widgets/swarm_wallpaper.dart b/desktop/lib/widgets/swarm_wallpaper.dart
index afc7ac398..5360df0bc 100644
--- a/desktop/lib/widgets/swarm_wallpaper.dart
+++ b/desktop/lib/widgets/swarm_wallpaper.dart
@@ -1,54 +1,123 @@
-import 'dart:async';
+import 'dart:ui' as ui;
import 'package:flutter/material.dart';
-/// Wallpaper belongs only to the empty new-swarm canvas.
-class SwarmWallpaper extends StatefulWidget {
+import '../shared/theme/app_theme.dart' as grid;
+import 'engine_identity.dart';
+
+/// The ground behind the empty new-swarm canvas (mockup/swarm-background.html,
+/// "9 · Aurora mesh").
+///
+/// It used to be a photograph — a lake at dusk under a gradient — and it was
+/// the one surface in the app with a subject. Every other screen stands on the
+/// same near-black panel with Geist on it; that one said "mountains", warmed
+/// the white headline orange at the top, and made the accent button compete
+/// with a sunset. A ground should be a ground.
+///
+/// This is the panel colour with three very dim washes at the corners, in the
+/// three colours the app already owns — the accent, and the marks Claude and
+/// Codex wear in the rail — meeting in the middle as plain ground. Each stays
+/// under 15%, which is what keeps it a tinted room rather than a poster, and
+/// what keeps the New agent button the only real blue on screen. Drawn, not
+/// scaled, so it holds at any window size and costs no asset.
+class SwarmWallpaper extends StatelessWidget {
const SwarmWallpaper({super.key});
@override
- State<SwarmWallpaper> createState() => _SwarmWallpaperState();
+ Widget build(BuildContext context) {
+ grid.AppTheme.watch(context);
+ // Lighter in light mode: a wash that reads as a tint on charcoal reads as
+ // a stain on white.
+ final strength = grid.AppTheme.pick(0.6, 1.0);
+ return CustomPaint(
+ painter: _MeshPainter(
+ ground: grid.AppPalette.panelBg,
+ washes: [
+ // Not [grid.AppPalette.swarmAccent]: in the graphite palette that is
+ // #bdcbdc, a pale grey-blue made to be TEXT on charcoal, and as a wash
+ // it reads as a smudge. This is the blue the mockup was drawn in — the
+ // blue the New agent button and the Codex mark already share a family
+ // with — and it is only ever seen at 14%.
+ _Wash(
+ const Color(0xFF6E8BFF),
+ 0.14 * strength,
+ const Alignment(-0.7, -0.5),
+ 0.40,
+ 0.50,
+ ),
+ _Wash(
+ engineIdentity('claude').color,
+ 0.10 * strength,
+ const Alignment(0.7, -0.7),
+ 0.45,
+ 0.40,
+ ),
+ _Wash(
+ engineIdentity('codex').color,
+ 0.08 * strength,
+ const Alignment(0.2, 0.9),
+ 0.50,
+ 0.45,
+ ),
+ ],
+ ),
+ size: Size.infinite,
+ );
+ }
}
-class _SwarmWallpaperState extends State<SwarmWallpaper> {
- static const _image = AssetImage(
- 'assets/swarm-wallpapers/swarm-welcome-dusk.jpg',
- );
- ImageConfiguration _configuration = ImageConfiguration.empty;
+/// One wash: a radial fade from `opacity` at `at` to nothing, `rx`/`ry` wide
+/// and tall as fractions of the canvas — the CSS
+/// `radial-gradient(ellipse rx ry at …)` the mockup was drawn with.
+class _Wash {
+ const _Wash(this.color, this.opacity, this.at, this.rx, this.ry);
+ final Color color;
+ final double opacity;
+ final Alignment at;
+ final double rx, ry;
+}
- @override
- void didChangeDependencies() {
- super.didChangeDependencies();
- _configuration = createLocalImageConfiguration(context);
- }
+class _MeshPainter extends CustomPainter {
+ const _MeshPainter({required this.ground, required this.washes});
+ final Color ground;
+ final List<_Wash> washes;
@override
- void dispose() {
- // Populated swarms do not retain a decoded welcome image in Flutter's
- // keep-alive cache. Evict only our asset, leaving terminal images alone.
- unawaited(_image.evict(configuration: _configuration));
- super.dispose();
+ void paint(Canvas canvas, Size size) {
+ canvas.drawRect(Offset.zero & size, Paint()..color = ground);
+ for (final w in washes) {
+ final c = at(w.at, size);
+ final rx = size.width * w.rx, ry = size.height * w.ry;
+ // A circle of radius rx, squashed to ry vertically about its centre:
+ // the shader's own transform, so the fade itself is elliptical rather
+ // than a circle drawn in an oval.
+ final m = Matrix4.identity()
+ ..translateByDouble(c.dx, c.dy, 0, 1)
+ ..scaleByDouble(1, ry / rx, 1, 1)
+ ..translateByDouble(-c.dx, -c.dy, 0, 1);
+ final paint = Paint()
+ ..shader = ui.Gradient.radial(
+ c,
+ rx,
+ [w.color.withValues(alpha: w.opacity), w.color.withValues(alpha: 0)],
+ const [0.0, 0.7],
+ TileMode.clamp,
+ m.storage,
+ );
+ canvas.drawRect(Offset.zero & size, paint);
+ }
}
+ static Offset at(Alignment a, Size s) =>
+ Offset(s.width * (a.x + 1) / 2, s.height * (a.y + 1) / 2);
+
@override
- Widget build(BuildContext context) => Stack(
- fit: StackFit.expand,
- children: [
- Image(
- image: _image,
- fit: BoxFit.cover,
- gaplessPlayback: true,
- excludeFromSemantics: true,
- ),
- const DecoratedBox(
- decoration: BoxDecoration(
- gradient: LinearGradient(
- begin: Alignment.topCenter,
- end: Alignment.bottomCenter,
- colors: [Color(0x1211111c), Color(0x750c111e)],
- ),
- ),
- ),
- ],
- );
+ bool shouldRepaint(_MeshPainter old) =>
+ old.ground != ground ||
+ old.washes.length != washes.length ||
+ Iterable.generate(washes.length).any(
+ (i) =>
+ old.washes[i].color != washes[i].color ||
+ old.washes[i].opacity != washes[i].opacity,
+ );
}
diff --git a/desktop/pubspec.yaml b/desktop/pubspec.yaml
index c9df8e19b..1282f3967 100644
--- a/desktop/pubspec.yaml
+++ b/desktop/pubspec.yaml
@@ -96,8 +96,7 @@ flutter:
# loaded from the bundle: Flutter can't read an .icns, and About should show
# the mark the Dock shows, not a stand-in drawn in Dart.
- assets/app_icon.png
- - assets/harness_device.webp
- - assets/swarm-wallpapers/swarm-welcome-dusk.jpg
+ - assets/harness_device.png
# To add assets to your application, add an assets section, like this:
# assets:
diff --git a/desktop/test/entry_surfaces_render_test.dart b/desktop/test/entry_surfaces_render_test.dart
index a6bc28cf5..761ebba09 100644
--- a/desktop/test/entry_surfaces_render_test.dart
+++ b/desktop/test/entry_surfaces_render_test.dart
@@ -122,7 +122,7 @@ void main() {
for (final asset in [
'assets/engine-icons/codex.png',
'assets/engine-icons/cursor.png',
- 'assets/harness_device.webp',
+ 'assets/harness_device.png',
]) {
await precacheImage(
AssetImage(asset),
diff --git a/desktop/test/welcome_entry_layout_test.dart b/desktop/test/welcome_entry_layout_test.dart
index d4955ef5b..4afa81cb6 100644
--- a/desktop/test/welcome_entry_layout_test.dart
+++ b/desktop/test/welcome_entry_layout_test.dart
@@ -84,18 +84,12 @@ void main() {
if (Platform.environment['HARNESS_ENTRY_CAPTURE_DIR'] != null) {
await tester.runAsync(() async {
final context = tester.element(find.byType(SwarmScreen));
- await Future.wait([
- precacheImage(
- const AssetImage('assets/harness_device.webp'),
- context,
- ),
- precacheImage(
- const AssetImage(
- 'assets/swarm-wallpapers/swarm-welcome-dusk.jpg',
- ),
- context,
- ),
- ]);
+ // Only the device image: the ground behind the page is drawn
+ // (swarm_wallpaper.dart), not loaded.
+ await precacheImage(
+ const AssetImage('assets/harness_device.png'),
+ context,
+ );
});
await tester.pump();
}
diff --git a/docs/harness-agent-first-tabs.md b/docs/harness-agent-first-tabs.md
index 33cd7ccd6..e3a6763cb 100644
--- a/docs/harness-agent-first-tabs.md
+++ b/docs/harness-agent-first-tabs.md
@@ -13,7 +13,8 @@ identifiers are unchanged.
## Open and New Agent
**Cmd-T / New Tab** and the tab-bar plus open the Harness start page over its
-restored lake-at-dusk wallpaper. A long search field, capped at 1120 logical pixels,
+Aurora mesh ground — the panel colour with three dim washes in the app's own
+accent, Claude and Codex colours, drawn rather than loaded (no photograph). A long search field, capped at 1120 logical pixels,
has a prominent 64-pixel minimum height and shows **Find an agent** in place of
a large heading. **Open Agent** and accented
**+ New Agent** sit underneath, aligned with the field's left edge. The pill
@@ -39,11 +40,13 @@ refreshes results against current app state. Command-mode shortcuts synchronize
the field and results without adding editor rebuilds to arrow navigation.
Opening the dropdown keeps its whole list viewport inside the window. Resizing
or changing text size reveals the highlighted row without changing the selection.
-A small product image and caption stay in the footer and link to
-https://www.autonomous.ai/harness-device. The bundled image is the official
-device image from https://cdn.autonomous.ai/production/ecm/260731/2.webp,
-cropped in the viewport so the device is larger and centered. The caption is
-“Meet the Harness device”.
+A product strip runs along the footer, the width of the search field, and
+links to https://www.autonomous.ai/harness-device: a glass band holding a
+cutout of the device (`assets/harness_device.png`, the render with its studio
+ground keyed out, so the device floats on the page's own ground), the title
+“Meet the Harness device”, the line “A device for your agents — scroll, switch
+panes, give voice commands.” and a Learn more pill. 120 points tall, 84 with
+the line dropped when the window is short.
The start-page actions use the same pill shape as the titlebar. The device link
and both pairs of New/Open buttons show a hand cursor. Open Agent on the start
page is transparent with a subtle border; New Agent retains its accent fill.