[v2] Minor task-related refactors by KKonstantinov · Pull Request #1758 · modelcontextprotocol/typescript-sdk

and others added 8 commits

December 17, 2025 15:03
The specification only allows the server to return a null TTL, it doesn't allow the client to request that.
This is intentional, as it forces clients to make a choice betwen a specific TTL or not caring what the TTL is, rather than defaulting to keeping tasks forever all the time.

Allowing the requested value to be null was an implementation oversight that diverged from the spec.

claude[bot]

@KKonstantinov

claude[bot]

@KKonstantinov

@KKonstantinov

claude[bot]

@KKonstantinov

claude[bot]

felixweinberger

@KKonstantinov

claude[bot]

@felixweinberger

This was referenced

Mar 27, 2026

This was referenced

Mar 27, 2026