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.

Every harness wears its own mark in tabs and menus

deebfc0e49ed2b6
diff --git a/desktop/assets/engine-icons/openmontage.png b/desktop/assets/engine-icons/openmontage.png
new file mode 100644
index 000000000..8585cc28a
Binary files /dev/null and b/desktop/assets/engine-icons/openmontage.png differ
diff --git a/desktop/lib/screens/swarm_screen.dart b/desktop/lib/screens/swarm_screen.dart
index 8e9ede945..814b39a64 100644
--- a/desktop/lib/screens/swarm_screen.dart
+++ b/desktop/lib/screens/swarm_screen.dart
@@ -436,8 +436,10 @@ class _SwarmScreenState extends State<SwarmScreen> {
{
'id': agent.id,
'title': agent.name,
- 'engine': agent.engine,
- 'iconAsset': engineIdentity(agent.engine).asset,
+ // Drawn as what it is: a Godogen agent wears Godogen, not
+ // the Claude Code it runs on.
+ 'engine': agent.identityEngine,
+ 'iconAsset': agentIdentity(agent).asset,
'canOpen':
agent.terminalAvailable ||
openAgents.contains((
diff --git a/desktop/lib/state/app_state.dart b/desktop/lib/state/app_state.dart
index b2b21df88..ebf38eab6 100644
--- a/desktop/lib/state/app_state.dart
+++ b/desktop/lib/state/app_state.dart
@@ -766,7 +766,7 @@ class AppNotifier extends ChangeNotifier {
(agent) => agent.id == removed.panes.single.agentId,
)
.firstOrNull
- ?.engine ??
+ ?.identityEngine ??
removed.panes.single.session?.engineId
: null,
),
diff --git a/desktop/lib/widgets/engine_identity.dart b/desktop/lib/widgets/engine_identity.dart
index ceb806685..32ebaaf23 100644
--- a/desktop/lib/widgets/engine_identity.dart
+++ b/desktop/lib/widgets/engine_identity.dart
@@ -327,6 +327,16 @@ const _harnesses = <String, EngineIdentity>{
color: Color(0xff50fa78),
asset: 'assets/engine-icons/circuitjs.png',
),
+ // OpenMontage's own logo (`assets/logo.png` in its repository), trimmed to
+ // its outer ring so the play mark reads at tab size.
+ 'autonomous/openmontage': EngineIdentity(
+ id: 'autonomous/openmontage',
+ label: 'OpenMontage',
+ category: 'Video',
+ creator: 'calesthio',
+ color: Color(0xffe8894a),
+ asset: 'assets/engine-icons/openmontage.png',
+ ),
};
/// The base engine each first-party harness runs on, so the Create dialog can
@@ -349,6 +359,7 @@ const knownHarnessBase = <String, String>{
'autonomous/rdkit': 'codex',
'autonomous/yosys': 'claude',
'autonomous/circuitjs': 'codex',
+ 'autonomous/openmontage': 'claude',
};
/// All known engines, in declaration order — for the New Agent engine picker.
diff --git a/desktop/macos/Runner/SwarmTitlebar.swift b/desktop/macos/Runner/SwarmTitlebar.swift
index f671ea74f..d60cf05f6 100644
--- a/desktop/macos/Runner/SwarmTitlebar.swift
+++ b/desktop/macos/Runner/SwarmTitlebar.swift
@@ -1039,7 +1039,10 @@ private final class SwarmHistoryIcons {
}
} else {
image = NSImage(size: size, flipped: false) { _ in
- let initial = String(id.first ?? "A").uppercased() as NSString
+ // A harness id is `owner/name`: its initial is the name's, not the owner's — every
+ // `autonomous/…` harness without artwork used to read "A".
+ let name = id.split(separator: "/").last.map(String.init) ?? id
+ let initial = String(name.first ?? "A").uppercased() as NSString
let attributes: [NSAttributedString.Key: Any] = [
.font: NSFont.monospacedSystemFont(ofSize: 11, weight: .bold),
.foregroundColor: NSColor.black,
diff --git a/desktop/test/engine_identity_test.dart b/desktop/test/engine_identity_test.dart
index 03f84f0f7..03090c7de 100644
--- a/desktop/test/engine_identity_test.dart
+++ b/desktop/test/engine_identity_test.dart
@@ -1,6 +1,8 @@
// What an engine or a harness is drawn as: the harnesses this build ships a
// face for, the engine each first-party harness runs on, the fallback for an
// id nobody here has heard of, and the mark when its picture will not load.
+import 'dart:io';
+
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
@@ -65,6 +67,34 @@ void main() {
},
);
+ test('every agent package in the store has its face in this build', () {
+ // A package without one draws an initial in its tab, pane header and store
+ // card while every package beside it wears its logo.
+ final agents = Directory('../store/agents')
+ .listSync()
+ .whereType<Directory>()
+ .where((dir) => File('${dir.path}/harness.json').existsSync())
+ .map(
+ (dir) =>
+ 'autonomous/${dir.uri.pathSegments.where((s) => s.isNotEmpty).last}',
+ )
+ .toList();
+ expect(agents, isNotEmpty);
+ final faces = {for (final harness in knownHarnesses) harness.id};
+ // Projects that publish no logo draw their initial rather than a mark made
+ // up for them. Godogen's repository has no image of its own.
+ const noLogo = {'autonomous/godogen'};
+ for (final id in agents.where((id) => !noLogo.contains(id))) {
+ expect(faces, contains(id), reason: '$id has no EngineIdentity');
+ final asset = engineIdentity(id).asset!;
+ expect(
+ File(asset).existsSync(),
+ isTrue,
+ reason: '$id: $asset is missing',
+ );
+ }
+ });
+
test('an id nobody here knows still gets a name, never its owner', () {
expect(isHarnessId(null), isFalse);
expect(isHarnessId('claude'), isFalse);
diff --git a/desktop/test/new_agent_choices_layout_test.dart b/desktop/test/new_agent_choices_layout_test.dart
index b954bd3f1..4046eff5d 100644
--- a/desktop/test/new_agent_choices_layout_test.dart
+++ b/desktop/test/new_agent_choices_layout_test.dart
@@ -277,7 +277,7 @@ void main() {
lessThanOrEqualTo(size.height),
);
await capture('search-open');
- await tester.enterText(agentSearch, 'o');
+ await tester.enterText(agentSearch, 'openc');
await tester.pumpAndSettle();
expect(agentRows(tester).first, 'opencode');
await capture('search');