You are experiencing exactly why a lot of us call them tree rats. I don't know of anything you can do to repel them. I know they don't like hot peppers, so maybe you can spray your vegetables with pepper based sprays.
Your other option is to stand guard and shoot only the ones that actually are...