groove-dev 0.25.9 → 0.25.11

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.
@@ -1637,7 +1637,7 @@ Keep responses concise. Help them think, don't lecture them about the system the
1637
1637
  role: config.role,
1638
1638
  scope: config.scope || [],
1639
1639
  prompt: config.prompt || '',
1640
- provider: config.provider || 'claude-code',
1640
+ provider: config.provider || undefined,
1641
1641
  model: config.model || 'auto',
1642
1642
  permission: config.permission || 'auto',
1643
1643
  workingDir: config.workingDir || projectWorkingDir,
@@ -1660,7 +1660,7 @@ Keep responses concise. Help them think, don't lecture them about the system the
1660
1660
  waitFor: phase1Ids,
1661
1661
  agents: phase2.map((c) => ({
1662
1662
  role: c.role, scope: c.scope || [], prompt: c.prompt || '',
1663
- provider: c.provider || 'claude-code', model: c.model || 'auto',
1663
+ provider: c.provider || undefined, model: c.model || 'auto',
1664
1664
  permission: c.permission || 'auto',
1665
1665
  workingDir: c.workingDir || projectWorkingDir,
1666
1666
  name: c.name || undefined,
@@ -4,7 +4,7 @@
4
4
  import { spawn as cpSpawn } from 'child_process';
5
5
  import { createWriteStream, mkdirSync, chmodSync, existsSync, readFileSync, unlinkSync } from 'fs';
6
6
  import { resolve } from 'path';
7
- import { getProvider } from './providers/index.js';
7
+ import { getProvider, getInstalledProviders } from './providers/index.js';
8
8
  import { validateAgentConfig } from './validate.js';
9
9
 
10
10
  // Role-specific prompt prefixes — applied during spawn regardless of entry point
@@ -168,7 +168,6 @@ export class ProcessManager {
168
168
  // Resolve provider — auto-detect best installed if not specified
169
169
  let providerName = config.provider;
170
170
  if (!providerName) {
171
- const { getInstalledProviders } = await import('./providers/index.js');
172
171
  const installed = getInstalledProviders();
173
172
  if (installed.length === 0) {
174
173
  throw new Error('No AI providers installed. Install Claude Code, Gemini CLI, Codex, or Ollama first.');
@@ -184,8 +183,6 @@ export class ProcessManager {
184
183
  throw new Error(`Unknown provider: ${providerName}`);
185
184
  }
186
185
  if (!provider.constructor.isInstalled()) {
187
- // Try to find any installed provider as fallback
188
- const { getInstalledProviders } = await import('./providers/index.js');
189
186
  const installed = getInstalledProviders();
190
187
  if (installed.length > 0) {
191
188
  throw new Error(
@@ -81,7 +81,7 @@ export function validateAgentConfig(config) {
81
81
  name: config.name || undefined,
82
82
  scope: config.scope || [],
83
83
  prompt: config.prompt || '',
84
- provider: config.provider || 'claude-code',
84
+ provider: config.provider || undefined,
85
85
  model: typeof config.model === 'string' ? config.model : null,
86
86
  workingDir: typeof config.workingDir === 'string' ? config.workingDir : undefined,
87
87
  teamId: config.teamId || undefined,