6510493930
_poll_task now accepts window_timeout. For DirSize and MD5 (one-shot result windows), if only 599 errors arrive for window_timeout seconds without ever seeing the task alive (finished=False), return a fast "result window missed — please retry" error instead of waiting the full 60 s. Tasks that return finished=False at least once (large dirs, large files) are unaffected. Also removes the stale [dsm] debug stderr.write left in client.request(). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>