A tracked async subagent task persisted in agent state.
Each task maps to a single thread + run on a remote Agent Protocol server.
The taskId is the same as threadId, so it can be used to look up
the thread directly via the SDK.
interface AsyncTaskName of the async subagent type that is running.
ISO timestamp of the most recent status poll via the check tool.
ISO timestamp of when the task was launched.
The prompt/description passed to the subagent when the task was launched.
Run ID of the newest run this task knows of on its thread. A queued follow-up's run may not have started yet.
Current task status.
Earlier runs of this task, oldest first, from before a queued follow-up.
Their notifications don't complete the task, and cancelling the task also
cancels any that are still active. Set only with updateStrategy: "enqueue".
Unique identifier for the task (same as thread id).
Thread ID on the remote server.
ISO timestamp of the most recent task update — set when the task status changes or a follow-up message is sent via the update tool.