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.
- package/node_modules/@groove-dev/cli/package.json +1 -1
- package/node_modules/@groove-dev/daemon/package.json +1 -1
- package/node_modules/@groove-dev/daemon/src/api.js +102 -12
- package/node_modules/@groove-dev/gui/dist/assets/{index-DWao9glo.js → index-Dvum7uoe.js} +1 -1
- package/node_modules/@groove-dev/gui/dist/index.html +1 -1
- package/node_modules/@groove-dev/gui/package.json +1 -1
- package/node_modules/@groove-dev/gui/src/stores/groove.js +25 -6
- package/package.json +1 -1
- package/packages/cli/package.json +1 -1
- package/packages/daemon/package.json +1 -1
- package/packages/daemon/src/api.js +102 -12
- package/packages/gui/dist/assets/{index-DWao9glo.js → index-Dvum7uoe.js} +1 -1
- package/packages/gui/dist/index.html +1 -1
- package/packages/gui/package.json +1 -1
- package/packages/gui/src/stores/groove.js +25 -6
|
@@ -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-
|
|
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">
|
|
@@ -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
|
-
|
|
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
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
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) {
|