Gemini Interactions API in TypeScript: Task-Aware Thinking Routing