status !== AgentPlan::STATUS_ACTIVE) { $plan->activate(); } return StartSession::run($agentType, $plan->slug, $workspaceId); } }