Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-code

Work with sessions changedagent-sdk/sessions

Nearest release: v2.1.335, published 6 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 3 Dec 2026 04:02 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 3 Dec 2026 04:07 UTC.

Upstream edited
Recorded here
Lines+2added
Lines−2removed
From line 155 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits10to this page, all time

The whole hunk

from line 155, old and new numbered
/
lines
from line 155
155155 
156156 try:
157157 async for message in query(
158 prompt="Analyze the auth module and suggest improvements",
158 prompt="Analyze the auth module and suggest how to refactor it to use JWT",
159159 options=ClaudeAgentOptions(
160160 allowed_tools=["Read", "Glob", "Grep"],
161161 ),
from line 184
184184 
185185try {
186186 for await (const message of query({
187 prompt: "Analyze the auth module and suggest improvements",
187 prompt: "Analyze the auth module and suggest how to refactor it to use JWT",
188188 options: { allowedTools: ["Read", "Glob", "Grep"] }
189189 })) {
190190 if (message.type === "result") {
Feedback