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>
|