groove-dev 0.27.61 → 0.27.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <link rel="icon" type="image/png" href="/favicon.png" />
8
8
  <title>Groove GUI</title>
9
- <script type="module" crossorigin src="/assets/index-DWao9glo.js"></script>
9
+ <script type="module" crossorigin src="/assets/index-Dvum7uoe.js"></script>
10
10
  <link rel="modulepreload" crossorigin href="/assets/vendor-C0HXlhrU.js">
11
11
  <link rel="modulepreload" crossorigin href="/assets/reactflow-BQPfi37R.js">
12
12
  <link rel="modulepreload" crossorigin href="/assets/codemirror-BBL3i_JW.js">
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@groove-dev/gui",
3
- "version": "0.27.61",
3
+ "version": "0.27.62",
4
4
  "description": "GROOVE GUI — visual agent control plane",
5
5
  "license": "FSL-1.1-Apache-2.0",
6
6
  "type": "module",
@@ -1305,8 +1305,17 @@ export const useGrooveStore = create((set, get) => ({
1305
1305
  try {
1306
1306
  const result = await api.post('/recommended-team/launch', { teamId });
1307
1307
  const agents = result.agents || [];
1308
+ const failures = result.failed || [];
1308
1309
  const names = agents.map((a) => a.name).join(', ') || '';
1309
- get().addToast('success', 'Planner delegated work', names ? `→ ${names}` : undefined);
1310
+
1311
+ if (agents.length === 0 && failures.length > 0) {
1312
+ get().addToast('error', 'Delegation failed', failures.map(f => f.role + ': ' + f.error).join(', '));
1313
+ } else {
1314
+ get().addToast('success', 'Planner delegated work', names ? `→ ${names}` : undefined);
1315
+ if (failures.length > 0) {
1316
+ get().addToast('warning', `${failures.length} agent(s) failed to spawn`, failures.map(f => f.role + ': ' + f.error).join(', '));
1317
+ }
1318
+ }
1310
1319
  if (agents.length > 0) {
1311
1320
  set((s) => ({
1312
1321
  thinkingAgents: new Set([...s.thinkingAgents, ...agents.map((a) => a.id)]),
@@ -1337,11 +1346,21 @@ export const useGrooveStore = create((set, get) => ({
1337
1346
  get().addToast('info', 'Launching team...');
1338
1347
  const body = { ...(modifiedAgents && { agents: modifiedAgents }), ...(teamId && { teamId }) };
1339
1348
  const result = await api.post('/recommended-team/launch', body);
1340
- const sub = [
1341
- result.phase2Pending ? `${result.phase2Pending} QC queued` : '',
1342
- result.projectDir ? `→ ${result.projectDir}/` : '',
1343
- ].filter(Boolean).join(' · ');
1344
- get().addToast('success', `Launched ${(result.launched || 0) + (result.reused || 0)} agents`, sub || undefined);
1349
+ const totalOk = (result.launched || 0) + (result.reused || 0);
1350
+ const failures = result.failed || [];
1351
+
1352
+ if (totalOk === 0 && failures.length > 0) {
1353
+ get().addToast('error', 'Team launch failed', failures.map(f => f.role + ': ' + f.error).join(', '));
1354
+ } else {
1355
+ const sub = [
1356
+ result.phase2Pending ? `${result.phase2Pending} QC queued` : '',
1357
+ result.projectDir ? `→ ${result.projectDir}/` : '',
1358
+ ].filter(Boolean).join(' · ');
1359
+ get().addToast('success', `Launched ${totalOk} agents`, sub || undefined);
1360
+ if (failures.length > 0) {
1361
+ get().addToast('warning', `${failures.length} agent(s) failed to spawn`, failures.map(f => f.role + ': ' + f.error).join(', '));
1362
+ }
1363
+ }
1345
1364
  // Set thinking indicator for all launched/reused agents
1346
1365
  const launchedAgents = result.agents || [];
1347
1366
  if (launchedAgents.length > 0) {