[2411.19490] Generative AI as a Tool or Leader? Exploring AI-Augmented Thinking in Student Programming Tasks