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.

Draw the phase strip in every tab layout; search previews show the harness

deecac1b2dbd1f1
diff --git a/desktop/lib/widgets/swarm_search_preview.dart b/desktop/lib/widgets/swarm_search_preview.dart
index 68add7ba1..909a7b7f8 100644
--- a/desktop/lib/widgets/swarm_search_preview.dart
+++ b/desktop/lib/widgets/swarm_search_preview.dart
@@ -299,7 +299,11 @@ class _AgentPreview extends StatelessWidget {
children: [
Padding(
padding: const EdgeInsets.only(top: 2),
- child: EngineMark(engine: agent.engine, size: compact ? 18 : 22),
+ child: EngineMark(
+ engine: agent.identityEngine,
+ displayName: agent.identityDisplayName,
+ size: compact ? 18 : 22,
+ ),
),
const SizedBox(width: 10),
Expanded(
@@ -348,10 +352,9 @@ class _AgentPreview extends StatelessWidget {
),
Text(
[
- engineIdentity(
- agent.engine,
- displayName: agent.engineDisplayName,
- ).label,
+ // Its harness when it has one, the way every other mark
+ // draws it — a Circuit agent is Circuit here too.
+ agentIdentity(agent).label,
machine.machine.name,
].join(' · '),
style: _muted,
diff --git a/desktop/lib/widgets/web_pane_panel.dart b/desktop/lib/widgets/web_pane_panel.dart
index d4568de38..938f670db 100644
--- a/desktop/lib/widgets/web_pane_panel.dart
+++ b/desktop/lib/widgets/web_pane_panel.dart
@@ -208,7 +208,9 @@ class _WebPanePanelState extends State<WebPanePanel> {
),
const SizedBox(width: 8),
if (widget.verdict case final verdict?) ...[
- if (!compact && verdict.phases.isNotEmpty)
+ // Flexible: the strip yields to the title and the chip when
+ // the pane is narrow; at three quarters of a tab it has room.
+ if (verdict.phases.isNotEmpty)
Flexible(
child: Padding(
padding: const EdgeInsets.only(right: 10),