groove-dev 0.27.29 → 0.27.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.
Files changed (30) hide show
  1. package/CLAUDE.md +0 -7
  2. package/node_modules/@groove-dev/cli/package.json +1 -1
  3. package/node_modules/@groove-dev/daemon/package.json +1 -1
  4. package/node_modules/@groove-dev/daemon/src/api.js +4 -1
  5. package/node_modules/@groove-dev/daemon/src/providers/local.js +4 -2
  6. package/node_modules/@groove-dev/daemon/src/providers/ollama.js +35 -3
  7. package/node_modules/@groove-dev/gui/dist/assets/{index-CjjmUhoW.css → index-BwNjgBny.css} +1 -1
  8. package/node_modules/@groove-dev/gui/dist/assets/{index-CNsQ3n1t.js → index-PxWmJjcJ.js} +9 -9
  9. package/node_modules/@groove-dev/gui/dist/index.html +2 -2
  10. package/node_modules/@groove-dev/gui/package.json +1 -1
  11. package/node_modules/@groove-dev/gui/src/app.css +10 -0
  12. package/node_modules/@groove-dev/gui/src/components/agents/spawn-wizard.jsx +4 -4
  13. package/node_modules/@groove-dev/gui/src/components/editor/terminal.jsx +21 -13
  14. package/node_modules/@groove-dev/gui/src/components/layout/terminal-panel.jsx +1 -1
  15. package/node_modules/@groove-dev/gui/src/views/settings.jsx +2 -2
  16. package/package.json +1 -1
  17. package/packages/cli/package.json +1 -1
  18. package/packages/daemon/package.json +1 -1
  19. package/packages/daemon/src/api.js +4 -1
  20. package/packages/daemon/src/providers/local.js +4 -2
  21. package/packages/daemon/src/providers/ollama.js +35 -3
  22. package/packages/gui/dist/assets/{index-CjjmUhoW.css → index-BwNjgBny.css} +1 -1
  23. package/packages/gui/dist/assets/{index-CNsQ3n1t.js → index-PxWmJjcJ.js} +9 -9
  24. package/packages/gui/dist/index.html +2 -2
  25. package/packages/gui/package.json +1 -1
  26. package/packages/gui/src/app.css +10 -0
  27. package/packages/gui/src/components/agents/spawn-wizard.jsx +4 -4
  28. package/packages/gui/src/components/editor/terminal.jsx +21 -13
  29. package/packages/gui/src/components/layout/terminal-panel.jsx +1 -1
  30. package/packages/gui/src/views/settings.jsx +2 -2
package/CLAUDE.md CHANGED
@@ -263,10 +263,3 @@ Audit-driven release. Multi-agent orchestration system with 7 coordination layer
263
263
  - Dashboard: routing donut, cache panel, context health gauges
264
264
  - Monitor/QC agent mode (stay active, loop)
265
265
  - Distribution: demo video, HN launch, Twitter content
266
-
267
- <!-- GROOVE:START -->
268
- ## GROOVE Orchestration (auto-injected)
269
- Active agents: 0
270
- See AGENTS_REGISTRY.md for full agent state.
271
- **Memory policy:** GROOVE manages project memory automatically. Do not read or write MEMORY.md or .groove/memory/ files directly.
272
- <!-- GROOVE:END -->
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@groove-dev/cli",
3
- "version": "0.27.29",
3
+ "version": "0.27.32",
4
4
  "description": "GROOVE CLI — manage AI coding agents from your terminal",
5
5
  "license": "FSL-1.1-Apache-2.0",
6
6
  "type": "module",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@groove-dev/daemon",
3
- "version": "0.27.29",
3
+ "version": "0.27.32",
4
4
  "description": "GROOVE daemon — agent orchestration engine",
5
5
  "license": "FSL-1.1-Apache-2.0",
6
6
  "type": "module",
@@ -426,7 +426,10 @@ export function createApi(app, daemon) {
426
426
  app.post('/api/providers/ollama/pull', async (req, res) => {
427
427
  const { model } = req.body;
428
428
  if (!model) return res.status(400).json({ error: 'model is required' });
429
- if (!OllamaProvider.isInstalled()) return res.status(400).json({ error: 'Ollama is not installed. Install with: brew install ollama' });
429
+ if (!OllamaProvider.isInstalled()) {
430
+ const install = OllamaProvider.installCommand();
431
+ return res.status(400).json({ error: `Ollama is not installed. Install with: ${install.command}` });
432
+ }
430
433
  const broadcast = daemon.broadcast.bind(daemon);
431
434
  try {
432
435
  // Auto-start Ollama server if not running
@@ -93,14 +93,16 @@ export class LocalProvider extends Provider {
93
93
 
94
94
  static _hasOllama() {
95
95
  try {
96
- execSync('which ollama', { stdio: 'ignore' });
96
+ const cmd = process.platform === 'win32' ? 'where ollama' : 'which ollama';
97
+ execSync(cmd, { stdio: 'ignore' });
97
98
  return true;
98
99
  } catch { return false; }
99
100
  }
100
101
 
101
102
  static _hasLlamaServer() {
102
103
  try {
103
- execSync('which llama-server', { stdio: 'ignore' });
104
+ const cmd = process.platform === 'win32' ? 'where llama-server' : 'which llama-server';
105
+ execSync(cmd, { stdio: 'ignore' });
104
106
  return true;
105
107
  } catch { return false; }
106
108
  }
@@ -52,7 +52,8 @@ export class OllamaProvider extends Provider {
52
52
 
53
53
  static isInstalled() {
54
54
  try {
55
- execSync('which ollama', { stdio: 'ignore' });
55
+ const cmd = process.platform === 'win32' ? 'where ollama' : 'which ollama';
56
+ execSync(cmd, { stdio: 'ignore' });
56
57
  return true;
57
58
  } catch {
58
59
  return false;
@@ -67,6 +68,9 @@ export class OllamaProvider extends Provider {
67
68
  if (platform === 'linux') {
68
69
  return { command: 'curl -fsSL https://ollama.ai/install.sh | sh', platform: 'Linux' };
69
70
  }
71
+ if (platform === 'win32') {
72
+ return { command: 'winget install Ollama.Ollama', alt: 'Or download from https://ollama.ai/download', platform: 'Windows' };
73
+ }
70
74
  return { command: 'Download from https://ollama.ai/download', platform: 'other' };
71
75
  }
72
76
 
@@ -98,6 +102,22 @@ export class OllamaProvider extends Provider {
98
102
  }
99
103
  }
100
104
  }
105
+ if (platform === 'win32') {
106
+ try {
107
+ let cmd = 'ollama';
108
+ try {
109
+ execSync('where ollama', { stdio: 'ignore' });
110
+ } catch {
111
+ const localAppData = process.env.LOCALAPPDATA || '';
112
+ const fallback = localAppData + '\\Programs\\Ollama\\ollama.exe';
113
+ cmd = fallback;
114
+ }
115
+ execFile(cmd, ['serve'], { stdio: 'ignore', detached: true, shell: true }).unref();
116
+ return { started: true, method: 'ollama serve' };
117
+ } catch {
118
+ return { started: false, command: 'ollama serve' };
119
+ }
120
+ }
101
121
  // Linux / other
102
122
  try {
103
123
  execFile('ollama', ['serve'], { stdio: 'ignore', detached: true }).unref();
@@ -109,6 +129,14 @@ export class OllamaProvider extends Provider {
109
129
 
110
130
  static stopServer() {
111
131
  const platform = process.platform;
132
+ if (platform === 'win32') {
133
+ try {
134
+ execSync('taskkill /IM ollama.exe /F', { stdio: 'ignore', timeout: 5000 });
135
+ return { stopped: true, method: 'taskkill' };
136
+ } catch {
137
+ return { stopped: false };
138
+ }
139
+ }
112
140
  if (platform === 'darwin') {
113
141
  try {
114
142
  execSync('brew services stop ollama', { stdio: 'ignore', timeout: 10000 });
@@ -135,7 +163,11 @@ export class OllamaProvider extends Provider {
135
163
  minRAM: 4,
136
164
  recommendedRAM: 16,
137
165
  gpuRecommended: true,
138
- note: 'Apple Silicon Macs use unified memory — all RAM is GPU RAM. NVIDIA GPUs recommended on Linux.',
166
+ note: process.platform === 'win32'
167
+ ? 'NVIDIA or AMD GPUs recommended. Ensure GPU drivers are up to date.'
168
+ : process.platform === 'darwin'
169
+ ? 'Apple Silicon Macs use unified memory — all RAM is GPU RAM.'
170
+ : 'NVIDIA GPUs recommended on Linux.',
139
171
  };
140
172
  }
141
173
 
@@ -151,7 +183,7 @@ export class OllamaProvider extends Provider {
151
183
  let gpu = null;
152
184
  if (isAppleSilicon) {
153
185
  gpu = { type: 'apple-silicon', name: cpuModel.replace(/Apple /g, ''), vram: totalRamGb, note: 'Unified memory — all RAM available to GPU' };
154
- } else if (platform === 'linux') {
186
+ } else if (platform === 'linux' || platform === 'win32') {
155
187
  try {
156
188
  const out = execSync('nvidia-smi --query-gpu=name,memory.total --format=csv,noheader,nounits', { encoding: 'utf8', timeout: 5000 });
157
189
  const [name, vram] = out.trim().split(', ');