Add toolTimeoutSec field to Agent and Session structs to allow configurable timeout duration. Reset pending tool timeout timer when partially completing tools. Increase default timeout from 45s to 180s. Add tests for timeout behavior and customization. generated by llmgit Co-Authored-By: Claude <noreply@anthropic.com>