- Add "write after end" and "no response" patterns to the shared isSessionError() in errors.ts - Replace inline duplicate in useSftpModalSession with an import of the shared function - Remove stale isSessionError from useCallback dependency array