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.

Merge pull request #233 from smfworks/machine-profiles

Bubu-Dudu-52hzcfec9d2dc7f9
diff --cc desktop/lib/screens/swarm_screen.dart
index 7076d8d6e,1d8913b02..067b04cfa
--- a/desktop/lib/screens/swarm_screen.dart
+++ b/desktop/lib/screens/swarm_screen.dart
@@@ -6544,15 -6551,12 +6553,16 @@@ class _SwarmScreenState extends State<S
grid.AppTheme.palette.value,
terminalThemeStore.value,
);
+ final chrome = widget.chrome;
+ if (chrome != null && _compact(context)) {
+ return _compactTabStrip(chrome, theme);
+ }
final names = workspaceTabNames(app);
- final activities = [for (final tab in app.swarms) tabActivity(app, tab)];
+ final shown = app.profileSwarms;
+ final activities = [for (final tab in shown) tabActivity(app, tab)];
final labels = [
- for (var index = 0; index < app.swarms.length; index++)
- '${index + 1}:${names[app.swarms[index].id]}',
+ for (var index = 0; index < shown.length; index++)
+ '${index + 1}:${names[shown[index].id]}',
];
final toolHeight = workspaceBarControlHeight(context);
final prefs = appearancePrefsStore.value.prompt;