@@ -15,7 +15,7 @@ import {
1515import { expandTemplate , getDefaultProfileName , isDockerProfile , type DockerProfileConfig } from "../adapters/config" ;
1616import { type DockerGateway } from "../adapters/docker" ;
1717import { buildProjectSessionName , buildWorktreeWindowName , type TmuxGateway } from "../adapters/tmux" ;
18- import type { AgentId , CreateWorktreeAgentSelection , ProfileConfig , ProjectConfig , RuntimeKind } from "../domain/config" ;
18+ import type { AgentId , ProfileConfig , ProjectConfig , RuntimeKind } from "../domain/config" ;
1919import type { WorktreeCreationPhase , WorktreeMeta } from "../domain/model" ;
2020import { allocateServicePorts , isValidBranchName , isValidEnvKey } from "../domain/policies" ;
2121import type { AutoNameGenerator } from "./auto-name-service" ;
@@ -143,7 +143,7 @@ export interface CreateLifecycleWorktreeInput {
143143
144144export interface CreateLifecycleWorktreesInput extends Omit < CreateLifecycleWorktreeInput , "agent" > {
145145 agents ?: AgentId [ ] ;
146- agent ?: CreateWorktreeAgentSelection ;
146+ agent ?: AgentId ;
147147}
148148
149149export interface CreateLifecycleWorktreesResult {
@@ -445,9 +445,7 @@ export class LifecycleService {
445445 private resolveSelectedAgents ( input : CreateLifecycleWorktreesInput ) : AgentId [ ] {
446446 const selectedAgents = input . agents && input . agents . length > 0
447447 ? input . agents
448- : input . agent === "both"
449- ? [ "claude" , "codex" ]
450- : [ input . agent ?? this . deps . config . workspace . defaultAgent ] ;
448+ : [ input . agent ?? this . deps . config . workspace . defaultAgent ] ;
451449
452450 const dedupedAgentIds = [ ...new Set ( selectedAgents . map ( ( agent ) => agent . trim ( ) ) . filter ( ( agent ) => agent . length > 0 ) ) ] ;
453451 if ( dedupedAgentIds . length === 0 ) {
0 commit comments