groove-dev 0.26.31 → 0.26.32
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/daemon/src/api.js +24 -3
- package/node_modules/@groove-dev/gui/dist/assets/{index-vxioP1y2.js → index-CwUZRfEx.js} +12 -12
- package/node_modules/@groove-dev/gui/dist/index.html +1 -1
- package/node_modules/@groove-dev/gui/src/components/dashboard/fleet-panel.jsx +6 -5
- package/package.json +1 -1
- package/packages/daemon/src/api.js +24 -3
- package/packages/gui/dist/assets/{index-vxioP1y2.js → index-CwUZRfEx.js} +12 -12
- package/packages/gui/dist/index.html +1 -1
- package/packages/gui/src/components/dashboard/fleet-panel.jsx +6 -5
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<link rel="icon" type="image/png" href="/favicon.png" />
|
|
7
7
|
<title>Groove GUI</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-CwUZRfEx.js"></script>
|
|
9
9
|
<link rel="modulepreload" crossorigin href="/assets/vendor-C0HXlhrU.js">
|
|
10
10
|
<link rel="modulepreload" crossorigin href="/assets/reactflow-BQPfi37R.js">
|
|
11
11
|
<link rel="modulepreload" crossorigin href="/assets/codemirror-BBL3i_JW.js">
|
|
@@ -4,6 +4,7 @@ import { ChevronDown, ChevronRight } from 'lucide-react';
|
|
|
4
4
|
import { fmtNum, fmtDollar } from '../../lib/format';
|
|
5
5
|
import { cn } from '../../lib/cn';
|
|
6
6
|
import { statusColor, roleColor } from '../../lib/status';
|
|
7
|
+
import { HEX, hexAlpha } from '../../lib/theme-hex';
|
|
7
8
|
import { ScrollArea } from '../ui/scroll-area';
|
|
8
9
|
|
|
9
10
|
const COST_SOURCE_LABEL = { actual: 'ACT', estimated: 'EST', local: 'LOC' };
|
|
@@ -24,7 +25,7 @@ const AgentRow = memo(function AgentRow({ agent, isRotating }) {
|
|
|
24
25
|
const successRate = quality?.toolSuccessRate != null ? Math.round(quality.toolSuccessRate * 100) : null;
|
|
25
26
|
const thresholdPct = agent.rotationThreshold ? Math.round(agent.rotationThreshold * 100) : null;
|
|
26
27
|
const rc = roleColor(agent.role);
|
|
27
|
-
const barColor = contextPct > 80 ?
|
|
28
|
+
const barColor = contextPct > 80 ? HEX.danger : contextPct > 60 ? HEX.warning : isAlive ? HEX.accent : HEX.surface5;
|
|
28
29
|
|
|
29
30
|
return (
|
|
30
31
|
<div className="px-3 pl-6 py-2 hover:bg-[rgba(51,175,188,0.06)] transition-colors space-y-1.5">
|
|
@@ -94,7 +95,7 @@ const AgentRow = memo(function AgentRow({ agent, isRotating }) {
|
|
|
94
95
|
<div className="flex items-center gap-2">
|
|
95
96
|
<div
|
|
96
97
|
className="relative flex-1 h-[4px] rounded-full overflow-visible"
|
|
97
|
-
style={{ background:
|
|
98
|
+
style={{ background: hexAlpha(HEX.accent, 0.12) }}
|
|
98
99
|
>
|
|
99
100
|
<div
|
|
100
101
|
className="absolute inset-y-0 left-0 rounded-full transition-all duration-700"
|
|
@@ -103,7 +104,7 @@ const AgentRow = memo(function AgentRow({ agent, isRotating }) {
|
|
|
103
104
|
{thresholdPct && (
|
|
104
105
|
<div
|
|
105
106
|
className="absolute top-[-2px] w-px h-[8px]"
|
|
106
|
-
style={{ left: `${thresholdPct}%`, background:
|
|
107
|
+
style={{ left: `${thresholdPct}%`, background: HEX.purple }}
|
|
107
108
|
title={`Rotation at ${thresholdPct}%`}
|
|
108
109
|
/>
|
|
109
110
|
)}
|
|
@@ -126,7 +127,7 @@ function TeamSection({ team, members, rotatingSet }) {
|
|
|
126
127
|
<button
|
|
127
128
|
onClick={() => setExpanded((e) => !e)}
|
|
128
129
|
className="w-full flex items-center gap-2 px-3 py-1.5 text-left transition-colors hover:bg-[rgba(51,175,188,0.08)] bg-[rgba(51,175,188,0.05)]"
|
|
129
|
-
style={{ borderLeft: isActive ?
|
|
130
|
+
style={{ borderLeft: isActive ? `2px solid ${HEX.accent}` : '2px solid transparent' }}
|
|
130
131
|
>
|
|
131
132
|
{expanded
|
|
132
133
|
? <ChevronDown size={10} className="text-text-4 flex-shrink-0" />
|
|
@@ -141,7 +142,7 @@ function TeamSection({ team, members, rotatingSet }) {
|
|
|
141
142
|
)}
|
|
142
143
|
<span
|
|
143
144
|
className="text-2xs font-mono tabular-nums flex-shrink-0 ml-1.5"
|
|
144
|
-
style={{ color: isActive ?
|
|
145
|
+
style={{ color: isActive ? HEX.accent : undefined }}
|
|
145
146
|
>
|
|
146
147
|
{runningCount}/{members.length}
|
|
147
148
|
</span>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "groove-dev",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.32",
|
|
4
4
|
"description": "Open-source agent orchestration layer — the AI company OS. Local model agent engine (GGUF/Ollama/llama-server), HuggingFace model browser, MCP integrations (Slack, Gmail, Stripe, 15+), agent scheduling (cron), business roles (CMO, CFO, EA). GUI dashboard, multi-agent coordination, zero cold-start, infinite sessions. Works with Claude Code, Codex, Gemini CLI, Ollama, any local model.",
|
|
5
5
|
"license": "FSL-1.1-Apache-2.0",
|
|
6
6
|
"author": "Groove Dev <hello@groovedev.ai> (https://groovedev.ai)",
|
|
@@ -1822,14 +1822,35 @@ Keep responses concise. Help them think, don't lecture them about the system the
|
|
|
1822
1822
|
);
|
|
1823
1823
|
|
|
1824
1824
|
if (existing && prompt) {
|
|
1825
|
-
//
|
|
1825
|
+
// Reuse existing agent: kill the old process and spawn fresh with full context.
|
|
1826
|
+
// This ensures the agent gets intro context, project map, and design system —
|
|
1827
|
+
// resume() bypasses all of that and the agent spawns blind.
|
|
1826
1828
|
try {
|
|
1827
|
-
|
|
1829
|
+
// Kill old process if running
|
|
1830
|
+
if (existing.status === 'running' || existing.status === 'starting') {
|
|
1831
|
+
try { await daemon.processes.kill(existing.id); } catch { /* already dead */ }
|
|
1832
|
+
}
|
|
1833
|
+
// Remove old entry
|
|
1834
|
+
daemon.registry.remove(existing.id);
|
|
1835
|
+
daemon.locks.release(existing.id);
|
|
1836
|
+
|
|
1837
|
+
// Spawn fresh with the same name/team but new prompt + full context
|
|
1838
|
+
const validated = validateAgentConfig({
|
|
1839
|
+
role: existing.role,
|
|
1840
|
+
scope: config.scope || existing.scope || [],
|
|
1841
|
+
prompt,
|
|
1842
|
+
provider: config.provider || existing.provider || undefined,
|
|
1843
|
+
model: config.model || existing.model || 'auto',
|
|
1844
|
+
permission: config.permission || existing.permission || 'auto',
|
|
1845
|
+
workingDir: existing.workingDir || projectWorkingDir,
|
|
1846
|
+
name: existing.name,
|
|
1847
|
+
});
|
|
1848
|
+
validated.teamId = defaultTeamId;
|
|
1849
|
+
const newAgent = await daemon.processes.spawn(validated);
|
|
1828
1850
|
reused.push({ id: newAgent.id, name: newAgent.name, role: newAgent.role, reusedFrom: existing.name });
|
|
1829
1851
|
phase1Ids.push(newAgent.id);
|
|
1830
1852
|
daemon.audit.log('team.reuse', { oldId: existing.id, newId: newAgent.id, role: config.role });
|
|
1831
1853
|
} catch (err) {
|
|
1832
|
-
// Reuse failed — fall through to spawn
|
|
1833
1854
|
failed.push({ role: config.role, error: `reuse failed: ${err.message}` });
|
|
1834
1855
|
}
|
|
1835
1856
|
} else {
|