groove-dev 0.22.7 → 0.22.8

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.
@@ -1470,6 +1470,7 @@ Keep responses concise. Help them think, don't lecture them about the system the
1470
1470
  }
1471
1471
 
1472
1472
  const defaultDir = daemon.config?.defaultWorkingDir || undefined;
1473
+ const defaultTeamId = daemon.teams.getDefault()?.id || null;
1473
1474
 
1474
1475
  // Separate phase 1 (builders) and phase 2 (QC/finisher)
1475
1476
  const phase1 = agents.filter((a) => !a.phase || a.phase === 1);
@@ -1499,6 +1500,7 @@ Keep responses concise. Help them think, don't lecture them about the system the
1499
1500
  workingDir: config.workingDir || defaultDir,
1500
1501
  name: config.name || undefined,
1501
1502
  });
1503
+ validated.teamId = defaultTeamId;
1502
1504
  const agent = await daemon.processes.spawn(validated);
1503
1505
  spawned.push({ id: agent.id, name: agent.name, role: agent.role });
1504
1506
  phase1Ids.push(agent.id);
@@ -1519,6 +1521,7 @@ Keep responses concise. Help them think, don't lecture them about the system the
1519
1521
  permission: c.permission || 'auto',
1520
1522
  workingDir: c.workingDir || defaultDir,
1521
1523
  name: c.name || undefined,
1524
+ teamId: defaultTeamId,
1522
1525
  })),
1523
1526
  });
1524
1527
  }
@@ -775,6 +775,7 @@ export class GatewayManager {
775
775
 
776
776
  const agents = plan.agents;
777
777
  const defaultDir = this.daemon.config?.defaultWorkingDir || undefined;
778
+ const defaultTeamId = this.daemon.teams.getDefault()?.id || null;
778
779
 
779
780
  // Separate phases
780
781
  const phase1 = agents.filter((a) => !a.phase || a.phase === 1);
@@ -804,6 +805,7 @@ export class GatewayManager {
804
805
  workingDir: config.workingDir || defaultDir,
805
806
  name: config.name || undefined,
806
807
  });
808
+ validated.teamId = defaultTeamId;
807
809
  const agent = await this.daemon.processes.spawn(validated);
808
810
  spawned.push(agent);
809
811
  phase1Ids.push(agent.id);
@@ -823,6 +825,7 @@ export class GatewayManager {
823
825
  permission: c.permission || 'auto',
824
826
  workingDir: c.workingDir || defaultDir,
825
827
  name: c.name || undefined,
828
+ teamId: defaultTeamId,
826
829
  })),
827
830
  });
828
831
  }