fix: run --attach agent validation and forward cwd
#11812
+39
−0
Loading