Agent SDK reference - TypeScript changedagent-sdk/typescript
Nearest release: v2.1.295, published 3 hours before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 8 Oct 2026 21:58 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 8 Oct 2026 22:07 UTC.
Upstream edited
Recorded here
Lines+1added
Lines−0removed
From line
2,906
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits90to this page, all time
The whole hunk
from line 2906, old and new numbered
/
This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.
from line 2906
29062906 prompt: string;
29072907 subagent_type?: string;
29082908 model?: "sonnet" | "opus" | "haiku" | "fable";
2909 effort?: "low" | "medium" | "high" | "xhigh" | "max";
29092910 run_in_background?: boolean;
29102911 name?: string;
29112912 team_name?: string; // Deprecated; ignored
from line 5360
53595360
53605361Emitted while Claude is producing a thinking block, including a redacted one. `estimated_tokens` is a running estimate of the thinking tokens generated so far in the current block, and `estimated_tokens_delta` is the increment carried by this frame. Use these estimates for progress display.
53615362
5362When the model or provider reports a breakdown, the final count for the top-level agent loop is the result message's [`usage.output_tokens_details.thinking_tokens`](#usage), which
5363When the model or provider reports a breakdown, the final count for the top-level agent loop is the result message's [`usag
No line in this hunk matches that.