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.
@@ -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-vxioP1y2.js"></script>
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 ? '#e06c75' : contextPct > 60 ? '#e5c07b' : isAlive ? '#33afbc' : '#333842';
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: 'rgba(51,175,188,0.12)' }}
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: '#c678dd' }}
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 ? '2px solid #33afbc' : '2px solid transparent' }}
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 ? '#33afbc' : undefined }}
145
+ style={{ color: isActive ? HEX.accent : undefined }}
145
146
  >
146
147
  {runningCount}/{members.length}
147
148
  </span>