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.

Remove redundant harnesses label from picker hints (#337)

Dee39c975f85f39
diff --git a/.github/assets/pickers/harness-search-prefix-hints.png b/.github/assets/pickers/harness-search-prefix-hints.png
new file mode 100644
index 000000000..5ee917f98
Binary files /dev/null and b/.github/assets/pickers/harness-search-prefix-hints.png differ
diff --git a/desktop/design/terminal-dialogs.md b/desktop/design/terminal-dialogs.md
index a17d2b180..494f6f4f4 100644
--- a/desktop/design/terminal-dialogs.md
+++ b/desktop/design/terminal-dialogs.md
@@ -120,7 +120,7 @@ Align its editable text with the result titles. Previews use the same text
metrics and blank-row spacing; warnings are readable text in semantic colors.
Cmd-P opens with no selected row. The preview area shows the type hints as plain,
-muted text: unprefixed harnesses, `@ machines`, `# projects`, `: models`,
+muted text: `@ machines`, `# projects`, `: models`,
`* store`, and `> commands`.
Typing selects the first match and replaces the hints with its preview. Arrows,
Tab, and pointer movement can also select a row. Clearing the root search returns
diff --git a/desktop/lib/widgets/swarm_resource_preview.dart b/desktop/lib/widgets/swarm_resource_preview.dart
index e80eb641a..2d54c30a2 100644
--- a/desktop/lib/widgets/swarm_resource_preview.dart
+++ b/desktop/lib/widgets/swarm_resource_preview.dart
@@ -744,7 +744,7 @@ class _SwarmResourcePreviewState extends State<SwarmResourcePreview> {
),
children: [
Text(
- ' harnesses\n@ machines\n# projects\n: models\n* store\n> commands',
+ '@ machines\n# projects\n: models\n* store\n> commands',
key: const ValueKey('swarm-search-type-hints'),
style: terminalContentStyle(
color: theme.foreground.withValues(alpha: .54),
diff --git a/desktop/test/resource_picker_test.dart b/desktop/test/resource_picker_test.dart
index e57045ff2..7d25623c5 100644
--- a/desktop/test/resource_picker_test.dart
+++ b/desktop/test/resource_picker_test.dart
@@ -183,7 +183,7 @@ void main() {
find.byKey(const ValueKey('swarm-search-result-list')),
);
const fullHint =
- ' harnesses\n@ machines\n# projects\n: models\n* store\n> commands';
+ '@ machines\n# projects\n: models\n* store\n> commands';
expect(tester.widget<Text>(hints).data, fullHint);
final controller = search(tester);
expect(controller.selected, isNull);