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 remote-tracking branch 'origin/main' into feat/background-behind-harnesses

reinSPQR2fd6491b64b4
diff --cc desktop/lib/screens/swarm_screen.dart
index 29886dcac,5387c38bc..db3057b7c
--- a/desktop/lib/screens/swarm_screen.dart
+++ b/desktop/lib/screens/swarm_screen.dart
@@@ -6294,98 -6400,97 +6407,102 @@@ class _SwarmScreenState extends State<S
child: Stack(
children: [
Positioned.fill(
- child: PaneGrid(
- notifier: app,
- swarmMode: true,
- companionViewer:
- _creatureEnabled && _zoo.loaded
- ? _companionViewer
- : null,
- soloFocused: _compact(context),
- empty:
- app.panes.isEmpty &&
- !app.activeSwarm.isUtility &&
- !app
- .activeSwarm
- .isOrchestrator
- ? newHarnessOpensInBox ||
- app
- .activeSwarm
- .isNewTabPage
- ? _startGuide()
- : HarnessStartPage(
- key: ValueKey(
- 'harness-start:${app.activeSwarmId}',
- ),
- focusNode:
- _startSearchFocus,
- createSearch: () =>
- SwarmSearchController(
- app,
- _navigation
- .recent,
- projects:
- _projects,
- commands:
- _searchCommands,
- recentCommands: () =>
- _navigation
- .recentCommands,
- // The first box a new
- // person meets is the same
- // box: its placeholder
- // promises `?` and a way
- // to create, so it has them.
- modes:
- _searchModes,
- adding: true,
- offersCreate:
- true,
- placement:
- HarnessPlacement
- .currentTab,
- catalog:
- _searchCatalog,
- ),
- onNewTab: _newTab,
- onNewPane: () =>
- unawaited(
- _addAgent(
- query: '',
- ),
- ),
- onCommands:
- _showSearchCommands,
- onQuickStart:
- _learning.offer
- ? _startQuickStart
- : null,
- onPractice:
- _practiceKeyboard,
- onNew: () => _newAgent(
- placement:
- HarnessPlacement
- .currentTab,
- ),
- onNewWithTask: (task) =>
- _newAgent(
- task: task,
- placement:
- HarnessPlacement
- .currentTab,
- ),
- onStore: _openStore,
- onResourceSearch:
- (query) =>
- _openSearch(
- adding: true,
- query: query,
+ child: PaneOpacity(
+ opacity: appearancePrefsStore
+ .value
+ .effectivePaneOpacity,
+ child: PaneGrid(
+ notifier: app,
+ swarmMode: true,
++ companionViewer:
++ _creatureEnabled && _zoo.loaded
++ ? _companionViewer
++ : null,
+ soloFocused: _compact(context),
+ empty:
+ app.panes.isEmpty &&
+ !app
+ .activeSwarm
+ .isUtility &&
+ !app
+ .activeSwarm
+ .isOrchestrator
+ ? newHarnessOpensInBox ||
+ app
+ .activeSwarm
+ .isNewTabPage
+ ? _startGuide()
+ : HarnessStartPage(
+ key: ValueKey(
+ 'harness-start:${app.activeSwarmId}',
+ ),
+ focusNode:
+ _startSearchFocus,
+ createSearch: () => SwarmSearchController(
+ app,
+ _navigation.recent,
+ projects: _projects,
+ commands:
+ _searchCommands,
+ recentCommands: () =>
+ _navigation
+ .recentCommands,
+ // The first box a new
+ // person meets is the same
+ // box: its placeholder
+ // promises `?` and a way
+ // to create, so it has them.
+ modes: _searchModes,
+ adding: true,
+ offersCreate: true,
+ placement:
+ HarnessPlacement
+ .currentTab,
+ catalog:
+ _searchCatalog,
+ ),
+ onNewTab: _newTab,
+ onNewPane: () =>
+ unawaited(
+ _addAgent(
+ query: '',
),
- onChoose:
- _chooseStartSearch,
- )
- : null,
+ ),
+ onCommands:
+ _showSearchCommands,
+ onQuickStart:
+ _learning.offer
+ ? _startQuickStart
+ : null,
+ onPractice:
+ _practiceKeyboard,
+ onNew: () => _newAgent(
+ placement:
+ HarnessPlacement
+ .currentTab,
+ ),
+ onNewWithTask:
+ (
+ task,
+ ) => _newAgent(
+ task: task,
+ placement:
+ HarnessPlacement
+ .currentTab,
+ ),
+ onStore: _openStore,
+ onResourceSearch:
+ (
+ query,
+ ) => _openSearch(
+ adding: true,
+ query: query,
+ ),
+ onChoose:
+ _chooseStartSearch,
+ )
+ : null,
+ ),
),
),
],