pub type TaskSnapshot = (TaskObject, Option<CallToolResult>, Option<JsonRpcError>);Expand description
A task’s current snapshot: the task object plus any result or error captured so far.
The error is a structured JsonRpcError because SEP-2663 requires
tasks/get on a failed task to return a JSON-RPC error object.