Was that part about transdimensional spell always in the first post? Somehow I missed that...
In that case, it is debatable. A strict reading of the RAW says it only works to attack someone inside the Rope Trick, as you said, but it seems reasonable that it should work both ways.