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.

Keep project details in tiles and clarify remaining choices

dee16c4d1f660c2
diff --git a/desktop/lib/shared/widgets/app_choice_picker.dart b/desktop/lib/shared/widgets/app_choice_picker.dart
index dfdfa4a39..70201d073 100644
--- a/desktop/lib/shared/widgets/app_choice_picker.dart
+++ b/desktop/lib/shared/widgets/app_choice_picker.dart
@@ -16,6 +16,7 @@ class AppChoicePicker<T> extends StatefulWidget {
required this.optionKey,
required this.moreLabel,
this.moreKey,
+ this.moreLeading,
this.preferredValues = const [],
this.showDetails = false,
this.wrap = true,
@@ -29,6 +30,7 @@ class AppChoicePicker<T> extends StatefulWidget {
final Key Function(T) optionKey;
final String moreLabel;
final Key? moreKey;
+ final Widget? moreLeading;
final List<T> preferredValues;
final bool showDetails;
final bool wrap;
@@ -271,7 +273,9 @@ class _AppChoicePickerState<T> extends State<AppChoicePicker<T>> {
trigger: AppChoiceTileContent(
label: extra?.label ?? 'More',
detail: extra?.detail,
- leading: extra?.leading?.call(),
+ leading: extra == null
+ ? widget.moreLeading
+ : extra.leading?.call(),
trailing: const Icon(Icons.keyboard_arrow_down, size: 18),
),
),
diff --git a/desktop/lib/widgets/agent_picker.dart b/desktop/lib/widgets/agent_picker.dart
index 3ffbefbb4..d8056dfff 100644
--- a/desktop/lib/widgets/agent_picker.dart
+++ b/desktop/lib/widgets/agent_picker.dart
@@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
+import 'package:lucide_icons_flutter/lucide_icons.dart';
import '../shared/widgets/app_choice_picker.dart';
import '../shared/widgets/app_select_field.dart';
@@ -43,5 +44,6 @@ class AgentPicker extends StatelessWidget {
optionKey: (id) => ValueKey('new-agent-quick-$id'),
moreKey: const Key('new-agent-engine-field'),
moreLabel: 'More agents',
+ moreLeading: const Icon(LucideIcons.layoutGrid, size: 18),
);
}
diff --git a/desktop/lib/widgets/new_agent_dialog.dart b/desktop/lib/widgets/new_agent_dialog.dart
index 0c59a8d63..87fc1ce72 100644
--- a/desktop/lib/widgets/new_agent_dialog.dart
+++ b/desktop/lib/widgets/new_agent_dialog.dart
@@ -682,7 +682,7 @@ class _NewAgentDialogState extends State<_NewAgentDialog> {
),
],
const SizedBox(height: _gapField),
- _sectionLabel('Select a machine'),
+ _sectionLabel('Where will this agent run?'),
_machineOptions(tileSize),
const SizedBox(height: _gapField),
_sectionLabel('Which project will this agent work in?'),
@@ -814,6 +814,7 @@ class _NewAgentDialogState extends State<_NewAgentDialog> {
value: _machineId,
moreKey: const Key('new-agent-machine-more'),
moreLabel: 'More machines',
+ moreLeading: const Icon(LucideIcons.monitor, size: 18),
optionKey: (id) => ValueKey('new-agent-machine-$id'),
showDetails: true,
compact: true,
diff --git a/desktop/lib/widgets/new_agent_project_picker.dart b/desktop/lib/widgets/new_agent_project_picker.dart
index 1e7afd013..484e1fbfe 100644
--- a/desktop/lib/widgets/new_agent_project_picker.dart
+++ b/desktop/lib/widgets/new_agent_project_picker.dart
@@ -231,20 +231,6 @@ class _NewAgentProjectPickerState extends State<NewAgentProjectPicker> {
),
],
),
- if (_folder != null || _repository != null)
- Padding(
- padding: const EdgeInsets.only(top: 12, left: 2),
- child: Text(
- _folder ?? _repository!.url,
- key: const Key('new-agent-project-path'),
- maxLines: 1,
- overflow: TextOverflow.ellipsis,
- style: TextStyle(
- fontSize: 12,
- color: grid.AppPalette.textSecondary,
- ),
- ),
- ),
],
);
}
diff --git a/desktop/test/agent_creation_recovery_test.dart b/desktop/test/agent_creation_recovery_test.dart
index 3b5c9bace..197bdacc7 100644
--- a/desktop/test/agent_creation_recovery_test.dart
+++ b/desktop/test/agent_creation_recovery_test.dart
@@ -628,7 +628,7 @@ void main() {
const WsRequestTimeout('agent_create'),
);
await tester.pumpAndSettle();
- expect(find.text('/work'), findsOneWidget);
+ expect(find.text('work'), findsOneWidget);
expect(find.widgetWithText(FilledButton, 'Create'), findsNothing);
final action = tester.widget<FilledButton>(
find.widgetWithText(FilledButton, 'Check status'),
diff --git a/desktop/test/new_agent_engine_check_test.dart b/desktop/test/new_agent_engine_check_test.dart
index 3251f65ba..55e0552c2 100644
--- a/desktop/test/new_agent_engine_check_test.dart
+++ b/desktop/test/new_agent_engine_check_test.dart
@@ -178,7 +178,8 @@ void main() {
expect(find.byType(AlertDialog), findsOneWidget);
expect(retry, findsNothing);
- expect(find.text(pickedFolder), findsOneWidget);
+ expect(find.text('20260907'), findsOneWidget);
+ expect(find.text(pickedFolder), findsNothing);
expect(
tester
.widget<AppSelectField<String>>(
@@ -258,7 +259,7 @@ void main() {
.value,
'codex',
);
- expect(find.text(pickedFolder), findsNothing);
+ expect(find.text('20260907'), findsNothing);
expect(app.launches, isEmpty);
expect(tester.takeException(), isNull);
});
diff --git a/desktop/test/new_agent_project_picker_test.dart b/desktop/test/new_agent_project_picker_test.dart
index a8810fee8..24dfa99b7 100644
--- a/desktop/test/new_agent_project_picker_test.dart
+++ b/desktop/test/new_agent_project_picker_test.dart
@@ -132,14 +132,16 @@ void main() {
await tester.pumpAndSettle();
await tester.sendKeyEvent(LogicalKeyboardKey.enter);
await tester.pumpAndSettle();
- expect(find.text('/local/alpha'), findsOneWidget);
+ expect(find.text('alpha'), findsOneWidget);
+ expect(find.text('/local/alpha'), findsNothing);
expect(app.calls, isEmpty);
expect(app.previews, isEmpty);
await tester.tap(find.byKey(const Key('new-agent-project-recent')));
await tester.pumpAndSettle();
await tester.sendKeyEvent(LogicalKeyboardKey.escape);
await tester.pumpAndSettle();
- expect(find.text('/local/alpha'), findsOneWidget);
+ expect(find.text('alpha'), findsOneWidget);
+ expect(find.text('/local/alpha'), findsNothing);
});
testWidgets(
@@ -149,7 +151,8 @@ void main() {
await recent(tester, 'alpha');
await tester.tap(find.byKey(const ValueKey('new-agent-quick-opencode')));
await tester.pumpAndSettle();
- expect(find.text('/local/alpha'), findsOneWidget);
+ expect(find.text('alpha'), findsOneWidget);
+ expect(find.text('/local/alpha'), findsNothing);
await tester.tap(find.byKey(const ValueKey('new-agent-machine-remote')));
await tester.pumpAndSettle();
await tester.tap(find.byKey(const Key('new-agent-project-recent')));
@@ -159,10 +162,11 @@ void main() {
await tester.pumpAndSettle();
await tester.tap(find.byKey(const ValueKey('new-agent-machine-local')));
await tester.pumpAndSettle();
- expect(find.text('/local/alpha'), findsOneWidget);
+ expect(find.text('alpha'), findsOneWidget);
+ expect(find.text('/local/alpha'), findsNothing);
await tester.tap(find.byKey(const ValueKey('new-agent-machine-remote')));
await tester.pumpAndSettle();
- expect(find.text('/remote/beta'), findsOneWidget);
+ expect(find.text('beta'), findsOneWidget);
await tester.tap(find.byKey(const Key('create-agent-submit')));
await tester.pumpAndSettle();
expect(app.calls.single, containsPair('folder', '/remote/beta'));
@@ -217,10 +221,11 @@ void main() {
);
await tester.sendKeyEvent(LogicalKeyboardKey.escape);
await tester.pumpAndSettle();
- expect(find.text('/local/alpha'), findsOneWidget);
+ expect(find.text('alpha'), findsOneWidget);
+ expect(find.text('/local/alpha'), findsNothing);
await tester.tap(find.byKey(const Key('new-agent-folder-newProject')));
await tester.pumpAndSettle();
- expect(find.byKey(const Key('new-agent-project-path')), findsNothing);
+ expect(find.text('alpha'), findsNothing);
expect(app.calls, isEmpty);
await tester.sendKeyDownEvent(LogicalKeyboardKey.metaLeft);
await tester.sendKeyEvent(LogicalKeyboardKey.enter);
diff --git a/desktop/test/remote_folder_picker_test.dart b/desktop/test/remote_folder_picker_test.dart
index adc76f4c1..ee0e00aaa 100644
--- a/desktop/test/remote_folder_picker_test.dart
+++ b/desktop/test/remote_folder_picker_test.dart
@@ -401,7 +401,7 @@ void main() {
await tester.pumpAndSettle();
await tester.sendKeyEvent(LogicalKeyboardKey.escape);
await tester.pumpAndSettle();
- expect(find.text('/home/dev/old'), findsWidgets);
+ expect(find.text('old'), findsOneWidget);
expect(app.launches, isEmpty);
await tester.ensureVisible(
find.byKey(const Key('new-agent-project-browse')),
@@ -423,7 +423,8 @@ void main() {
await tester.sendKeyUpEvent(LogicalKeyboardKey.metaLeft);
await tester.pumpAndSettle();
expect(find.byType(AlertDialog), findsOneWidget);
- expect(find.text('/home/dev/target'), findsOneWidget);
+ expect(find.text('target'), findsOneWidget);
+ expect(find.text('/home/dev/target'), findsNothing);
expect(app.launches, isEmpty);
await tester.tap(find.widgetWithText(FilledButton, 'Create'));
await tester.pumpAndSettle();
diff --git a/desktop/test/swarm_split_test.dart b/desktop/test/swarm_split_test.dart
index e4bb65d08..d86f6c5e8 100644
--- a/desktop/test/swarm_split_test.dart
+++ b/desktop/test/swarm_split_test.dart
@@ -260,7 +260,13 @@ void main() {
),
findsOneWidget,
);
- expect(find.text('/work/first'), findsOneWidget);
+ expect(
+ find.descendant(
+ of: find.byKey(const Key('new-agent-project-browse')),
+ matching: find.text('first'),
+ ),
+ findsOneWidget,
+ );
expect(find.text('/work/neighbor'), findsNothing);
expect(find.byKey(const ValueKey('swarm-search-input')), findsNothing);
expect(app.focusedPaneId, first.id);
@@ -469,7 +475,13 @@ void main() {
await chord(tester, LogicalKeyboardKey.keyN);
await tester.pump();
expect(find.text('New Agent to the right'), findsOneWidget);
- expect(find.text('/work/checkout'), findsOneWidget);
+ expect(
+ find.descendant(
+ of: find.byKey(const Key('new-agent-project-browse')),
+ matching: find.text('checkout'),
+ ),
+ findsOneWidget,
+ );
expect(app.panes, [pane]);
await tester.sendKeyEvent(LogicalKeyboardKey.escape);
await tester.pump();
diff --git a/docs/harness-agent-first-tabs.md b/docs/harness-agent-first-tabs.md
index 9fc5b53b6..d323a8586 100644
--- a/docs/harness-agent-first-tabs.md
+++ b/docs/harness-agent-first-tabs.md
@@ -23,6 +23,8 @@ Each choice row has exactly one selected option. Only selection gets an outline;
keyboard focus uses a quiet fill so it cannot look like a second selection.
Choice tiles use the border as their selection marker, without a checkmark.
More menus show only the remaining choices, without repeating the visible tiles.
+The More tile uses a grid icon for engines and a monitor for machines; selected
+alternatives use their own icon.
Icon buttons share a quiet rounded background on hover and keyboard focus.
Apply this to native tab close, new-tab and notification icons as well as
Flutter controls. Disabled icons do not highlight; decorative icons stay inert.
@@ -106,7 +108,7 @@ retaining the query and selection. Native menus and the titlebar retain normal
colors while modal actions are blocked.
New Agent uses the same generous width as Open Agent. Three stacked sections
-lead through **Choose an engine**, **Select a machine**, and **Which project will
+lead through **Choose an engine**, **Where will this agent run?**, and **Which project will
this agent work in?** Each row has four equal tiles. Codex, Claude Code, and
OpenCode occupy the first three engine slots. The fourth is **More ⌄**; choosing
another engine replaces its label and icon, never adds a fifth tile.
@@ -121,7 +123,8 @@ wrap to two columns or one, with the body scrolling above the fixed footer.
Projects offer **New project / Local / Git / Recent ⌄**. New selects an empty
project without creating anything yet. Local opens the folder picker on the
chosen machine; Git opens a small URL dialog; Recent lists that machine’s
-previous projects. The selected path or URL appears underneath. Each machine
+previous projects. The selected folder or repository name appears only inside
+its tile, without a repeated full path or URL below. Each machine
remembers its last choice; first use selects New. New folders use
`~/harnesses/agent-1`, `agent-2`, …. Switching engines keeps the project.
diff --git a/docs/harness-v2-handoff.md b/docs/harness-v2-handoff.md
index a6d9703be..283fa032a 100644
--- a/docs/harness-v2-handoff.md
+++ b/docs/harness-v2-handoff.md
@@ -56,7 +56,10 @@ The current form uses three rows of four equal tiles:
- Project: New project, Local, Git, Recent ⌄. Local opens the selected machine’s
folder picker; Git opens a URL dialog; Recent contains machine-scoped projects.
-The selected path or URL stays visible beneath the tiles. Each machine remembers
+Only the folder or repository name appears inside the selected project tile;
+the full path/URL line below is removed. More tiles have a grid icon for engines
+and a monitor for machines, replaced by the chosen option’s own icon.
+Each machine remembers
its choice; switching engines keeps it. The settings gear is small and quiet at
the bottom left; Create is a larger 192 × 56 primary button. Escape/outside click
still dismiss, and Cmd-Return creates. Repeated-label tooltips are removed from